We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 903edcb commit 4c11ac7Copy full SHA for 4c11ac7
1 file changed
src/functions.php
@@ -2,19 +2,6 @@
2
3
namespace Revolt;
4
5
-/**
6
- * Executes the given callback in a new fiber.
7
- *
8
- * Any exceptions thrown are forwarded to the event loop error handler. The return value of the function is discarded.
9
10
- * @param callable():void $callback
11
- */
12
-function launch(callable $callback): void
13
-{
14
- $fiber = new \Fiber(__NAMESPACE__ . '\\EventLoop\\Internal\\run');
15
- EventLoop::queue([$fiber, 'start'], $callback);
16
-}
17
-
18
/**
19
* Returns the current time relative to an arbitrary point in time.
20
*
0 commit comments