How to use the node-firebird-native-api.cancelEvent function in node-firebird-native-api

To help you get started, we’ve selected a few node-firebird-native-api examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github asfernandes / node-firebird-drivers / packages / node-firebird-driver-native / src / lib / events.ts View on Github external
protected async internalCancel(): Promise {
		if (this.eventCallback) {
			const { eventCallback } = this;
			this.eventCallback = undefined!;
			await fb.cancelEvent(eventCallback);
		}
	}
}