emit_event

function emit_event(type: text, data: gtv)

Emits an event with the provided type and data.

Since

0.10.4

Parameters

type

Name of the event to emit.

data

Data to emit