Skip to main content

Crate kojin_macros

Crate kojin_macros 

Source
Expand description

Proc-macro support for the kojin task queue.

Provides the #[kojin::task] attribute macro that generates a task struct and Task trait implementation from an async function. Most users should use this via the kojin facade crate.

Attribute Macrosยง

task
Derive a task struct and Task impl from an async function.