Skip to content

Bug: process.nextTick not found #147

@maelp

Description

@maelp

Summary

I'm adding the process shim, but I get this error

process.nextTick is not a function

would it be possible to add it?

eg

  (globalThis.process as unknown as Record<string, unknown>).nextTick = (
    cb: (...cbArgs: unknown[]) => void,
    ...callArgs: unknown[]
  ) => {
    setTimeout(() => {
      cb(...callArgs);
    }, 0);
  };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions