Expand description
rustbridge-runtime - Tokio async runtime integration
This crate provides:
AsyncRuntimefor managing the Tokio runtimeAsyncBridgefor bridging sync FFI calls to async handlers- Graceful shutdown support with broadcast signals
Modules§
- prelude
- Prelude module for convenient imports
Structs§
- Async
Bridge - Bridge for executing async operations from sync FFI context
- Async
Runtime - Manages the Tokio async runtime for a plugin
- Runtime
Config - Configuration for the async runtime
- Shutdown
Handle - Handle for triggering shutdown
- Shutdown
Signal - Signal for detecting shutdown (cloneable, can be passed to tasks)