Closed 0xpatrickdev closed 9 months ago
closes: #XXXX refs: #47
Replaces window.(set|clear)Timeout() with globalThis.(set|clear)Timeout() so this export can be used in Node.js.
window.(set|clear)Timeout()
globalThis.(set|clear)Timeout()
This change might involve ambient authority (globalThis), but this authority was already present in the original implementation.
N/A
When #47 is closed, we should update docs to explain Node.js support.
Existing tests should cover these changes.
closes: #XXXX refs: #47
Description
Replaces
window.(set|clear)Timeout()
withglobalThis.(set|clear)Timeout()
so this export can be used in Node.js.Security Considerations
This change might involve ambient authority (globalThis), but this authority was already present in the original implementation.
Scaling Considerations
N/A
Documentation Considerations
When #47 is closed, we should update docs to explain Node.js support.
Testing Considerations
Existing tests should cover these changes.