How to use the node-firebird-native-api.queueEvent 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
static async queue(attachment: AttachmentImpl, names: string[], callBack: (counters: [string, number][]) => Promise):
			Promise {
		const events = new EventsImpl(attachment);
		const { client } = attachment;

		events.eventCallback = await fb.queueEvent(client.master!, attachment.attachmentHandle!, names, callBack);

		return events;
	}