io.unregisterTrigger()
io.unregisterTrigger()
allows you to unregister a DynamicTrigger that was previously registered with io.registerTrigger()
.
This has been deprecated in favor of DynamicTrigger.unregister
Parameters
cacheKey
string
requiredShould be a stable and unique cache key inside the run()
. See
resumability for more information.
dynamicTrigger
DynamicTrigger
requiredA DynamicTrigger that will trigger any Jobs it’s attached to.
id
string
requiredA unique id for the trigger. This is used to identify and unregister it later.
Returns
A Promise with the following shape:
ok
boolean
requiredWhether it was successfully unregistered.
Was this page helpful?