Search…
Events
Events are non-extensible, script-only accessible un-managed objects that can trigger events and notifications delayed or on a recurring schedule. When fired, events move into the processing state, and then into the completed or failed state once handled.
1
const { on } = require('decorators')
2
3
class Events {
4
5
@on('ns__test')
6
static nsTest(param, runtime) {
7
// runtime.source === 'event' when fried from an event instance
8
}
9
}
Copied!
Last modified 1mo ago
Copy link