Functions
data core
fn (data-type: Str, payload: Any): Null
Emit typed data to the current run's stream.
Data is immediately published for real-time delivery and persisted for replay.
Arguments
data-type- A string identifying the type of data (e.g.,"progress","update")payload- The data payload (any Hot value)
Example
data("progress", {current: 50, total: 100})
data("update", {message: "Processing complete"})