method

halt

halt()
public

Stop processing work: any work that has not already started running will be discarded from the queue