Remove
job.remove()
job.remove()
Example Usage
const job = pulse.create('test', {});
job.remove();
Parameters
Returns
Promise<number | undefined>
: A promise that resolves with the number of documents removed from the database. If no document is found with the specified job ID, it may resolve toundefined
.
Last updated
Was this helpful?