Header menu logo Nu

Coroutine Module

Coroutine operators.

Functions and values

Function or value Description

cancel

Full Usage: cancel

Returns: 'w Coroutine
Modifiers: inline
Type parameters: 'w

A coroutine that cancels the entire tree.

Returns: 'w Coroutine

pass

Full Usage: pass

Returns: 'w Coroutine
Modifiers: inline
Type parameters: 'w

Sleep until the next frame (approximate in DynamicFrameRate mode).

Returns: 'w Coroutine

sleep gameTime

Full Usage: sleep gameTime

Parameters:
Returns: 'a Coroutine
Modifiers: inline
Type parameters: 'a

A coroutine that sleeps until the next frame.

gameTime : GameTime
Returns: 'a Coroutine

Type something to start searching.