Module tauri::async_runtime[][src]

Expand description

Async runtime. The singleton async runtime used by Tauri and exposed to consumers. Wraps a tokio Runtime and is meant to be used by initialization code, such as plugins initialization and app setup hooks. Fox more complex use cases, consider creating your own runtime. For command handlers, it’s recommended to use a plain async fn command.

Structs

An asynchronous Mutex-like type.

Receive values from the associated Sender.

An asynchronous reader-writer lock.

Send values to the associated Receiver.

Functions

Run a future to completion on runtime.

Creates a bounded mpsc channel for communicating between asynchronous tasks with backpressure.

Spawn a future onto the runtime.