flowFinish

abstract suspend fun flowFinish(wideEventId: Long, status: FlowStatus, metadata: Map<String, String> = emptyMap()): Result<Unit>

Finish an active flow and send it with a terminal status.

Parameters

wideEventId

ID of the wide event.

status

Status of the entire flow.

metadata

Optional metadata.