Skip to main content

Module sync_bridge

Module sync_bridge 

Source
Expand description

Async/Sync bridge for Shape runtime

Provides a shared Tokio runtime for async operations in Shape. This simplified version focuses on managing the runtime for market-data provider access so legacy synchronous callers can still execute queries.

Structs§

SyncDataProvider
Deprecated: SyncDataProvider removed

Functions§

block_on_shared
Block on a future using the shared runtime
get_runtime_handle
Get the shared runtime handle
initialize_shared_runtime
Initialize the shared runtime (called once at startup)