For context, I am trying to use gifwrap (via jimp) in a V8 environment where some node/browser components are not available by default. process.nextTick is one of those that have a different behavior from the nodejs environment.
This PR uses a dynamic require to avoid circular dependency but removes the dependency on process.nextTick. I have tested in a few calls.
For context, I am trying to use gifwrap (via jimp) in a V8 environment where some node/browser components are not available by default.
process.nextTick
is one of those that have a different behavior from the nodejs environment.This PR uses a dynamic require to avoid circular dependency but removes the dependency on process.nextTick. I have tested in a few calls.