package catapult
Module type Catapult.BACKENDSource
Source
val emit :
id:string option ->
name:string ->
ph:Event_type.t ->
tid:int ->
pid:int ->
cat:string list option ->
ts_us:float ->
args:(string * Arg.t) list option ->
stack:string list option ->
dur:float option ->
?extra:(string * string) list ->
unit ->
unitEmit an event.
Function that can be called regularly to ensure background work is done. Potentially useful for long-running processes.
Tear down backend once the program is shutting down.