IO
io.registerTrigger()
io.registerTrigger()
allows you to register a DynamicTrigger with the specified trigger data.
This has been deprecated in favor of DynamicTrigger.register
Parameters
Should be a stable and unique cache key inside the run()
. See
resumability for more information.
A DynamicTrigger that will trigger any Jobs it’s attached.
A unique id for the registration. This is used to identify and unregister later.
The params for the DynamicTrigger. These will vary depending on the type of the DynamicTrigger.
Returns
A Promise that resolves to an object with the following fields:
A unique id for the registration. This is used to identify and unregister later.
The key of the registration.
Example
Was this page helpful?