Creates a promise that resolves itself with a given value after a number of milliseconds.
|int||$time||Milliseconds before succeeding the promise.||none|
|mixed||$value||Succeed the promise with this value.||null|
References the internal watcher in the event loop, keeping the loop running while this promise is pending.
Unreferences the internal watcher in the event loop, allowing the loop to stop while this promise is pending if no other events are pending in the loop.