pub trait Runtime: 'static {
type ScopedSpawner: Spawner<()> + FuncSpawner<(), SpawnHandle = <Self::ScopedSpawner as Spawner<()>>::SpawnHandle> + Blocker + Default + Send + Sync + 'static;
type BlockingRunner: BlockingRunner;
}
Available on crate feature
async
only.Expand description
Runtime trait for CEL asynchronous runtime.
Required Associated Types§
Sourcetype ScopedSpawner: Spawner<()> + FuncSpawner<(), SpawnHandle = <Self::ScopedSpawner as Spawner<()>>::SpawnHandle> + Blocker + Default + Send + Sync + 'static
type ScopedSpawner: Spawner<()> + FuncSpawner<(), SpawnHandle = <Self::ScopedSpawner as Spawner<()>>::SpawnHandle> + Blocker + Default + Send + Sync + 'static
Scoped spawner for CEL asynchronous runtime.
Sourcetype BlockingRunner: BlockingRunner
type BlockingRunner: BlockingRunner
Blocking runner for CEL asynchronous runtime.