Function

current-job

The id of the invocation the caller is currently running under, or 0 if none. A guest stashes this so another caller can later cancel it.

current-job: func() -> job-id;