remove method
Removes the future-returning closure from the queue. It will be removed from the queue if it has not yet been executed.
Implementation
void remove(
String tag, {
TWPriority priority = TWPriority.middle,
}) {
_nextCycle.removeWhere((item) => item.tag == tag);
activeItemTags.remove(tag);
_updateRemainingItems();
}