cancel method
Drops every registration for path, not only the last one.
Implementation
Future<void> cancel() {
final p = path.toNativeUtf8();
return _awaitDbOutcome(
(port) => fdbDbOnDisconnectCancel(p.cast(), port),
'onDisconnect.cancel',
).whenComplete(() => calloc.free(p));
}