setImmediate isn't implemented in any modern browser, so this updates the memory storage engine to call setTimeout instead when running in the browser. Behavior under Node is unchanged.
Note that this uses globalThis, which is only supported in Node 12+.
setImmediate isn't implemented in any modern browser, so this updates the memory storage engine to call
setTimeout
instead when running in the browser. Behavior under Node is unchanged.Note that this uses
globalThis
, which is only supported in Node 12+.Resolves #55