FiberFile.create

FiberFile create(FiberScheduler sched, ref EventLoop loop) static @trusted

Create a FiberFile bound to the given scheduler and event loop.

The file is not yet open. Call open() before performing I/O.

Parameters

schedThe fiber scheduler that manages the calling fiber.
loopThe event loop to register async completions on.

Returns

A new, unopened FiberFile.