Await Effect (Effect) — DiSky

Addon: DiSky · Category: Effect · Since: 4.0.0

Syntax

await <.+>

Description

Forces an effect to be executed asynchronously and waits for its completion. This is useful for non-async effects that need to run in an async context. Note: If the effect is already async, using await is redundant.

Examples

await set {_value} to mention tag "test" with id "000" # Forces async execution
await add role with id "000" to event-member # Waits for role addition

View source