Cancelling Jobs

The cancel() method is the primary way to tell Taskless to not run a job. The job and its history will be retained, but no execution will occur. The general format of a cancel call is:

1import MyQueue from "your/queue/location";
3await MyQueue.cancel("identifier");

Job Identifiers

Jobs in Taskless are identified by their name property. Names are considered unique to the queue and are case & space sensitive.