[][src]Crate ic_base_thread

The crate contains common concurrency patterns.

Structs

ObservableCountingSemaphore

Semaphore with integrated gauge that tracks the outstanding permits.

SemaphorePermit

The semaphore permit type returned from the ObservableCountingSemaphore.

Functions

spawn_and_wait

Executes async task in sync context without starving other independently spawned tasks.