mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-29 06:54:33 +01:00
Updated spawn_after
docs
This commit is contained in:
parent
3a64a3e276
commit
08a37d6d3d
1 changed files with 3 additions and 0 deletions
|
@ -275,6 +275,9 @@ pub fn codegen(
|
|||
|
||||
#(#cfgs)*
|
||||
/// Spawns the task after a set duration relative to the current time
|
||||
///
|
||||
/// This will use the time `Instant::new(0)` as baseline if called in `#[init]`,
|
||||
/// so if you use a non-resetable timer use `spawn_at` when in `#[init]`
|
||||
pub fn spawn_after<D>(
|
||||
duration: D
|
||||
#(,#args)*
|
||||
|
|
Loading…
Reference in a new issue