void cancel()

Source

void cancel() {
  if (callback != null) {
    node.unsubscribe(callback);
    callback = null;
  }
}