CuePerformerDelegate<T>¶
Namespace:
SideXP.Broadcaster
A callback-style cue performer, for coroutine/callback code that doesn't want to author an Awaitable. It starts synchronously when the cue is sent and reports completion by invoking the done callback it's handed.
Type parameters
T: The exact cue type this performer reacts to.
Parameters
cue: The cue instance (its fields are the payload).done: Call this once your reaction has finished (the cue's completion waits for it). It must be called eventually (or the cue never completes for this performer, until the performer is unregistered). Calling it more than once is harmless.