@thi.ng/rstream 7.0.9 → 7.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +886 -50
- package/README.md +2 -1
- package/api.d.ts +1 -0
- package/defworker.d.ts +2 -1
- package/defworker.js +4 -1
- package/forkjoin.d.ts +2 -2
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/nodejs.d.ts +51 -0
- package/nodejs.js +54 -0
- package/package.json +201 -193
- package/promises.d.ts +9 -6
- package/promises.js +8 -5
- package/tunnel.d.ts +3 -3
- package/worker.d.ts +2 -2
package/worker.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { WithErrorHandlerOpts } from "./api.js";
|
|
1
|
+
import type { WithErrorHandlerOpts, WorkerSource } from "./api.js";
|
|
2
2
|
export interface FromWorkerOpts extends WithErrorHandlerOpts {
|
|
3
3
|
/**
|
|
4
4
|
* If true, the worker will be terminated when the stream
|
|
@@ -31,5 +31,5 @@ export interface FromWorkerOpts extends WithErrorHandlerOpts {
|
|
|
31
31
|
* @param worker -
|
|
32
32
|
* @param opts -
|
|
33
33
|
*/
|
|
34
|
-
export declare const fromWorker: <T>(worker:
|
|
34
|
+
export declare const fromWorker: <T>(worker: WorkerSource, opts?: Partial<FromWorkerOpts> | undefined) => import("./stream.js").Stream<T>;
|
|
35
35
|
//# sourceMappingURL=worker.d.ts.map
|