Crate native_executor

Crate native_executor 

Source
Expand description

Platform-native async executor that bridges directly to OS event loops.

Tasks use structured concurrency semantics: every spawn* call returns an AsyncTask handle, and dropping that handle cancels the task unless you awaited it or called [AsyncTask::detach] to explicitly opt into fire-and-forget execution.

Modules§

polyfill
Polyfill executor implementation using async-executor.

Structs§

NativeExecutor
NativeTimer
A timer that completes after a specified duration.

Enums§

Priority
Task execution priority levels for controlling scheduler behavior.

Functions§

sleep