emit

abstract suspend fun emit(target: String, state: DataItem, notification: DataItem)

Sends a notification to a target.

Parameters

target

flow name/path that emits notification

state

current flow state

notification

notification payload