TaskHandle for the registered fiber.FiberScheduler.spawnFiber
TaskHandle spawnFiber(Fiber fiber, string name = null) @trustedRegister a pre-created Fiber as a new task.
Unlike spawn(), which creates a Fiber internally, this method accepts an externally created Fiber and adds it to the scheduler. Used by FiberPool to reuse fiber stacks across multiple work items.
Parameters
fiber | The fiber to register. Must not be null or terminated. |
name | Optional name for the task. |
Returns
A