Crate easyfibers [−] [src]
easyfibers is a closure-less couroutine library for executing asynchronous tasks as painlessly as possible.
Code example at: https://github.com/SergejJurecko/easyfibers
Structs
Fiber |
Available within the fiber execute function to configure fiber or create child fibers. Child fibers return results to parent fibers instead of poller on main stack. |
FiberRef |
Reference to fiber on main stack. |
Poller |
Poller that executes fibers on main stack. |
Enums
SocketType |
Socket type to connect to using new_resolve_connect function. For SSL/TLS use tcp first, then call tcp_tls_connect inside fiber. |
Type Definitions
FiberFn |
Fiber execute function. It receives current fiber, parameter that was used to start the fiber and returns result that will be result of fiber. |