SplitScript reference / nextTick
nextTick
Function
nextTick() -> async None
Continues attachment on the next runtime update.
Always suspends once. The continuation resumes on the following attached-process tick and is cancelled if that process closes first.
Effects: requires an attached process, suspends, cancels when the process closes
Runtime behavior: available only in onAttach; suspends; cancels when the process closes
Examples
Resume on the next update
await nextTick()