BedrockStreaming/Tornado

EventLoop:delay function

Closed this issue · 0 comments

Add this new function in EventLoop interface, implement it in each adapter, write tests

/**
* Returns a promise that will be resolved with `null` after at least $milliseconds.
**/
public function EventLoop::delay(int $milliseconds): Promise;