@nevware21/ts-utils
    Preparing search index...

    Function getProcessNextTick

    • Returns the global process.nextTick function if available, otherwise null.

      The returned function matches the Node.js signature and supports variadic callback arguments.

      Returns ProcessNextTickFn

      0.15.0

      const nextTickFn = getProcessNextTick();
      if (nextTickFn) {
      nextTickFn((value: string) => {
      console.log("process.nextTick", value);
      }, "works-with-args");
      }