ctx
) is a way to get information about a run.
The context object does not change whilst your code is executing. This means values like
ctx.run.durationMs
will be fixed at the moment the run()
function is called.Context properties
Optional information about the batch, if applicable.
Optional information about the machine preset used for execution.