title: How to cancel a task enqueued on Firebase Functions?
body: <p>I'm talking about this: <a href="https://firebase.google.com/docs/functions/task-functions" rel="nofollow noreferrer">https://firebase.google.com/docs/functions/task-functions</a></p>
  <p>I want to enqueue tasks with the <code>scheduleTime</code> parameter to run in the future, but I must be able to cancel those tasks.</p>
  <p>I expected it would be possible to do something like this pseudo code:</p>
  <pre class="lang-js prettyprint-override"><code>const task = await queue.enqueue({ foo: true })
  
  // Then...
  await queue.cancel(task.id)
  </code></pre>
  <p>I'm using Node.js. In case it's not possible to cancel a scheduled task with <code>firebase-admin</code>, can I somehow work around it by using <code>@google-cloud/tasks</code> directly?</p>
  <p>PS: I've also created a feature request: <a href="https://github.com/firebase/firebase-admin-node/issues/1753" rel="nofollow noreferrer">https://github.com/firebase/firebase-admin-node/issues/1753</a></p>