UNPKG

ts-hdb

Version:

hdb driver with typescript

13 lines 417 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createAsyncStream = void 0; async function* createAsyncStream(context, streamMethod, params) { const rs = await context.streamQuery(...params); const stream = rs[streamMethod](); for await (const rt of stream) { yield rt; } } exports.createAsyncStream = createAsyncStream; ; //# sourceMappingURL=utils.js.map