@lmnr-ai/lmnr 0.8.49 → 0.8.50
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/dist/cli.cjs +19 -14
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.d.cts +2 -2
- package/dist/cli.d.mts +2 -2
- package/dist/cli.mjs +16 -11
- package/dist/cli.mjs.map +1 -1
- package/dist/{evaluations-4bQ4UuTj.d.mts → evaluations-BVaPPf0j.d.mts} +1679 -1305
- package/dist/{evaluations-CbHnDCAY.d.cts → evaluations-C8cI_XIE.d.cts} +1682 -1307
- package/dist/{file-utils-Ct8PiWkV.mjs → file-utils-DOEv6ccL.mjs} +47 -18
- package/dist/file-utils-DOEv6ccL.mjs.map +1 -0
- package/dist/{file-utils-N65ihgSU.cjs → file-utils-RXJzJyiI.cjs} +47 -18
- package/dist/file-utils-RXJzJyiI.cjs.map +1 -0
- package/dist/index.cjs +164 -62
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1762 -1284
- package/dist/index.d.mts +1762 -1284
- package/dist/index.mjs +164 -62
- package/dist/index.mjs.map +1 -1
- package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.cjs +114 -102
- package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.cjs.map +1 -1
- package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.d.cts +776 -372
- package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.d.mts +776 -372
- package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.mjs +114 -102
- package/dist/opentelemetry-lib/instrumentation/temporal/workflow-interceptors.mjs.map +1 -1
- package/dist/{rolldown-runtime-2rV9d50f.mjs → rolldown-runtime-B4iAMlE-.mjs} +2 -2
- package/dist/{rolldown-runtime-CVvi-lCc.cjs → rolldown-runtime-Ctb5zv51.cjs} +1 -1
- package/dist/{utils-D8kgcFxb.cjs → utils-CNR1tzh5.cjs} +10 -9
- package/dist/utils-CNR1tzh5.cjs.map +1 -0
- package/dist/{utils-CbvnF9B9.mjs → utils-DRrXCfun.mjs} +9 -8
- package/dist/{utils-CbvnF9B9.mjs.map → utils-DRrXCfun.mjs.map} +1 -1
- package/package.json +6 -8
- package/dist/file-utils-Ct8PiWkV.mjs.map +0 -1
- package/dist/file-utils-N65ihgSU.cjs.map +0 -1
- package/dist/utils-D8kgcFxb.cjs.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __commonJSMin } from "../../../rolldown-runtime-
|
|
1
|
+
import { t as __commonJSMin } from "../../../rolldown-runtime-B4iAMlE-.mjs";
|
|
2
2
|
import "../../../consts-CTTu3jhI.mjs";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/encoding.js
|
|
4
4
|
var require_encoding = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
@@ -8,7 +8,7 @@ var require_encoding = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
8
8
|
exports.decode = decode;
|
|
9
9
|
const fromCharCode = String.fromCharCode;
|
|
10
10
|
const encoderRegexp = /[\x80-\uD7ff\uDC00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]?/g;
|
|
11
|
-
const tmpBufferU16 = new Uint16Array(32);
|
|
11
|
+
const tmpBufferU16 = /* @__PURE__ */ new Uint16Array(32);
|
|
12
12
|
var TextDecoder = class {
|
|
13
13
|
decode(inputArrayOrBuffer) {
|
|
14
14
|
const inputAs8 = inputArrayOrBuffer instanceof Uint8Array ? inputArrayOrBuffer : new Uint8Array(inputArrayOrBuffer);
|
|
@@ -156,37 +156,39 @@ var require_encoding = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
156
156
|
const u8ArrLen = u8Arr.length | 0;
|
|
157
157
|
const inputLength = inputString.length | 0;
|
|
158
158
|
if (u8ArrLen < len) len = u8ArrLen;
|
|
159
|
-
putChars:
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
159
|
+
putChars: {
|
|
160
|
+
for (; i < len; i = i + 1 | 0) {
|
|
161
|
+
char = encodedString.charCodeAt(i) | 0;
|
|
162
|
+
switch (char >> 4) {
|
|
163
|
+
case 0:
|
|
164
|
+
case 1:
|
|
165
|
+
case 2:
|
|
166
|
+
case 3:
|
|
167
|
+
case 4:
|
|
168
|
+
case 5:
|
|
169
|
+
case 6:
|
|
170
|
+
case 7: read = read + 1 | 0;
|
|
171
|
+
case 8:
|
|
172
|
+
case 9:
|
|
173
|
+
case 10:
|
|
174
|
+
case 11: break;
|
|
175
|
+
case 12:
|
|
176
|
+
case 13: if ((i + 1 | 0) < u8ArrLen) {
|
|
177
|
+
read = read + 1 | 0;
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
case 14: if ((i + 2 | 0) < u8ArrLen) {
|
|
181
|
+
read = read + 1 | 0;
|
|
182
|
+
break;
|
|
183
|
+
}
|
|
184
|
+
case 15: if ((i + 3 | 0) < u8ArrLen) {
|
|
185
|
+
read = read + 1 | 0;
|
|
186
|
+
break;
|
|
187
|
+
}
|
|
188
|
+
default: break putChars;
|
|
186
189
|
}
|
|
187
|
-
|
|
190
|
+
u8Arr[i] = char;
|
|
188
191
|
}
|
|
189
|
-
u8Arr[i] = char;
|
|
190
192
|
}
|
|
191
193
|
return {
|
|
192
194
|
written: i,
|
|
@@ -2101,10 +2103,12 @@ var require_umd = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2101
2103
|
radix = radix || 10;
|
|
2102
2104
|
if (radix < 2 || 36 < radix) throw RangeError("radix");
|
|
2103
2105
|
if (this.isZero()) return "0";
|
|
2104
|
-
if (this.isNegative())
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2106
|
+
if (this.isNegative()) {
|
|
2107
|
+
if (this.eq(MIN_VALUE)) {
|
|
2108
|
+
var radixLong = fromNumber(radix), div = this.div(radixLong), rem1 = div.mul(radixLong).sub(this);
|
|
2109
|
+
return div.toString(radix) + rem1.toInt().toString(radix);
|
|
2110
|
+
} else return "-" + this.neg().toString(radix);
|
|
2111
|
+
}
|
|
2108
2112
|
var radixToPower = fromNumber(pow_dbl(radix, 6), this.unsigned), rem = this;
|
|
2109
2113
|
var result = "";
|
|
2110
2114
|
while (true) {
|
|
@@ -2434,9 +2438,10 @@ var require_umd = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2434
2438
|
if (multiplier.isZero()) return this.unsigned ? UZERO : ZERO;
|
|
2435
2439
|
if (this.eq(MIN_VALUE)) return multiplier.isOdd() ? MIN_VALUE : ZERO;
|
|
2436
2440
|
if (multiplier.eq(MIN_VALUE)) return this.isOdd() ? MIN_VALUE : ZERO;
|
|
2437
|
-
if (this.isNegative())
|
|
2438
|
-
|
|
2439
|
-
|
|
2441
|
+
if (this.isNegative()) {
|
|
2442
|
+
if (multiplier.isNegative()) return this.neg().mul(multiplier.neg());
|
|
2443
|
+
else return this.neg().mul(multiplier).neg();
|
|
2444
|
+
} else if (multiplier.isNegative()) return this.mul(multiplier.neg()).neg();
|
|
2440
2445
|
if (this.lt(TWO_PWR_24) && multiplier.lt(TWO_PWR_24)) return fromNumber(this.toNumber() * multiplier.toNumber(), this.unsigned);
|
|
2441
2446
|
var a48 = this.high >>> 16;
|
|
2442
2447
|
var a32 = this.high & 65535;
|
|
@@ -2493,18 +2498,19 @@ var require_umd = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2493
2498
|
if (this.isZero()) return this.unsigned ? UZERO : ZERO;
|
|
2494
2499
|
var approx, rem, res;
|
|
2495
2500
|
if (!this.unsigned) {
|
|
2496
|
-
if (this.eq(MIN_VALUE))
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
approx = this.shr(1).div(divisor).shl(1);
|
|
2500
|
-
if (approx.eq(ZERO)) return divisor.isNegative() ? ONE : NEG_ONE;
|
|
2501
|
+
if (this.eq(MIN_VALUE)) {
|
|
2502
|
+
if (divisor.eq(ONE) || divisor.eq(NEG_ONE)) return MIN_VALUE;
|
|
2503
|
+
else if (divisor.eq(MIN_VALUE)) return ONE;
|
|
2501
2504
|
else {
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
+
approx = this.shr(1).div(divisor).shl(1);
|
|
2506
|
+
if (approx.eq(ZERO)) return divisor.isNegative() ? ONE : NEG_ONE;
|
|
2507
|
+
else {
|
|
2508
|
+
rem = this.sub(divisor.mul(approx));
|
|
2509
|
+
res = approx.add(rem.div(divisor));
|
|
2510
|
+
return res;
|
|
2511
|
+
}
|
|
2505
2512
|
}
|
|
2506
|
-
}
|
|
2507
|
-
else if (divisor.eq(MIN_VALUE)) return this.unsigned ? UZERO : ZERO;
|
|
2513
|
+
} else if (divisor.eq(MIN_VALUE)) return this.unsigned ? UZERO : ZERO;
|
|
2508
2514
|
if (this.isNegative()) {
|
|
2509
2515
|
if (divisor.isNegative()) return this.neg().div(divisor.neg());
|
|
2510
2516
|
return this.neg().div(divisor).neg();
|
|
@@ -2876,7 +2882,9 @@ var require_failure = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
2876
2882
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
2877
2883
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
2878
2884
|
};
|
|
2879
|
-
var _a
|
|
2885
|
+
var _a;
|
|
2886
|
+
var _b;
|
|
2887
|
+
var _c;
|
|
2880
2888
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2881
2889
|
exports.WorkflowExecutionAlreadyStartedError = exports.NexusOperationFailure = exports.ChildWorkflowFailure = exports.ActivityFailure = exports.TimeoutFailure = exports.TerminatedFailure = exports.CancelledFailure = exports.ApplicationFailure = exports.ServerFailure = exports.TemporalFailure = exports.decodeApplicationFailureCategory = exports.encodeApplicationFailureCategory = exports.ApplicationFailureCategory = exports.decodeRetryState = exports.encodeRetryState = exports.RetryState = exports.decodeTimeoutType = exports.encodeTimeoutType = exports.TimeoutType = exports.FAILURE_SOURCE = void 0;
|
|
2882
2890
|
exports.ensureApplicationFailure = ensureApplicationFailure;
|
|
@@ -3835,9 +3843,7 @@ var require_failure_converter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3835
3843
|
case "RETRYABLE":
|
|
3836
3844
|
retryableOverride = true;
|
|
3837
3845
|
break;
|
|
3838
|
-
case "NON_RETRYABLE":
|
|
3839
|
-
retryableOverride = false;
|
|
3840
|
-
break;
|
|
3846
|
+
case "NON_RETRYABLE": retryableOverride = false;
|
|
3841
3847
|
}
|
|
3842
3848
|
const rawErrorType = failure.nexusHandlerFailureInfo.type || "";
|
|
3843
3849
|
const resolvedType = Object.hasOwn(nexus.HandlerErrorType, rawErrorType) ? nexus.HandlerErrorType[rawErrorType] : "UNKNOWN";
|
|
@@ -3934,24 +3940,24 @@ var require_failure_converter = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
3934
3940
|
...base,
|
|
3935
3941
|
terminatedFailureInfo: {}
|
|
3936
3942
|
};
|
|
3937
|
-
if (err instanceof nexus.HandlerError)
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
retryBehavior = encodeNexusHandlerErrorRetryBehavior("NON_RETRYABLE");
|
|
3946
|
-
break;
|
|
3947
|
-
}
|
|
3948
|
-
return {
|
|
3949
|
-
...base,
|
|
3950
|
-
nexusHandlerFailureInfo: {
|
|
3951
|
-
type: err.type,
|
|
3952
|
-
retryBehavior
|
|
3943
|
+
if (err instanceof nexus.HandlerError) {
|
|
3944
|
+
if (err.originalFailure) return this.nexusFailureToTemporalFailure(err.originalFailure, err.retryable);
|
|
3945
|
+
else {
|
|
3946
|
+
let retryBehavior = void 0;
|
|
3947
|
+
switch (err.retryableOverride) {
|
|
3948
|
+
case true:
|
|
3949
|
+
retryBehavior = encodeNexusHandlerErrorRetryBehavior("RETRYABLE");
|
|
3950
|
+
break;
|
|
3951
|
+
case false: retryBehavior = encodeNexusHandlerErrorRetryBehavior("NON_RETRYABLE");
|
|
3953
3952
|
}
|
|
3954
|
-
|
|
3953
|
+
return {
|
|
3954
|
+
...base,
|
|
3955
|
+
nexusHandlerFailureInfo: {
|
|
3956
|
+
type: err.type,
|
|
3957
|
+
retryBehavior
|
|
3958
|
+
}
|
|
3959
|
+
};
|
|
3960
|
+
}
|
|
3955
3961
|
}
|
|
3956
3962
|
if (err instanceof failure_1.NexusOperationFailure) return {
|
|
3957
3963
|
...base,
|
|
@@ -4080,7 +4086,7 @@ var require_extstore = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4080
4086
|
};
|
|
4081
4087
|
exports.StorageDriverClaim = StorageDriverClaim;
|
|
4082
4088
|
/** Default {@link ExternalStorage.payloadSizeThreshold}: 256 KiB. */
|
|
4083
|
-
const DEFAULT_PAYLOAD_SIZE_THRESHOLD =
|
|
4089
|
+
const DEFAULT_PAYLOAD_SIZE_THRESHOLD = 262144;
|
|
4084
4090
|
/**
|
|
4085
4091
|
* Configuration for external storage. Holds the registered drivers, an
|
|
4086
4092
|
* optional selector, and the size threshold above which payloads are
|
|
@@ -4727,7 +4733,8 @@ var require_retry_policy = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4727
4733
|
//#endregion
|
|
4728
4734
|
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/worker-deployments.js
|
|
4729
4735
|
var require_worker_deployments = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4730
|
-
var _a
|
|
4736
|
+
var _a;
|
|
4737
|
+
var _b;
|
|
4731
4738
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4732
4739
|
exports.decodeInitialVersioningBehavior = exports.encodeInitialVersioningBehavior = exports.InitialVersioningBehavior = exports.decodeVersioningBehavior = exports.encodeVersioningBehavior = exports.VersioningBehavior = void 0;
|
|
4733
4740
|
exports.toCanonicalString = toCanonicalString;
|
|
@@ -4818,7 +4825,8 @@ var require_workflow_handle = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
4818
4825
|
//#endregion
|
|
4819
4826
|
//#region ../../node_modules/.pnpm/@temporalio+common@1.22.0/node_modules/@temporalio/common/lib/workflow-options.js
|
|
4820
4827
|
var require_workflow_options = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
4821
|
-
var _a
|
|
4828
|
+
var _a;
|
|
4829
|
+
var _b;
|
|
4822
4830
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4823
4831
|
exports.decodeWorkflowIdConflictPolicy = exports.encodeWorkflowIdConflictPolicy = exports.WorkflowIdConflictPolicy = exports.decodeWorkflowIdReusePolicy = exports.encodeWorkflowIdReusePolicy = exports.WorkflowIdReusePolicy = void 0;
|
|
4824
4832
|
exports.extractWorkflowType = extractWorkflowType;
|
|
@@ -5711,7 +5719,8 @@ var require_interfaces = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
5711
5719
|
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5712
5720
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
5713
5721
|
};
|
|
5714
|
-
var _a
|
|
5722
|
+
var _a;
|
|
5723
|
+
var _b;
|
|
5715
5724
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5716
5725
|
exports.decodeParentClosePolicy = exports.encodeParentClosePolicy = exports.ParentClosePolicy = exports.decodeChildWorkflowCancellationType = exports.encodeChildWorkflowCancellationType = exports.ChildWorkflowCancellationType = exports.ContinueAsNew = void 0;
|
|
5717
5726
|
const type_helpers_1 = require_type_helpers();
|
|
@@ -6270,7 +6279,7 @@ var require_reserved = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
6270
6279
|
* the {@link TEMPORAL_RESERVED_PREFIX} check at registration time. Registering
|
|
6271
6280
|
* the same name as a different entity type is still rejected.
|
|
6272
6281
|
*/
|
|
6273
|
-
const INTERNAL_RESERVED_NAME_ALLOWLIST = new Map([
|
|
6282
|
+
const INTERNAL_RESERVED_NAME_ALLOWLIST = /* @__PURE__ */ new Map([
|
|
6274
6283
|
["__temporal_workflow_stream_publish", "signal"],
|
|
6275
6284
|
["__temporal_workflow_stream_poll", "update"],
|
|
6276
6285
|
["__temporal_workflow_stream_offset", "query"],
|
|
@@ -7137,36 +7146,39 @@ var require_workflow = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
7137
7146
|
const activator = (0, global_attributes_1.assertInWorkflowContext)("Workflow.setHandler(...) may only be used from a Workflow Execution.");
|
|
7138
7147
|
(0, reserved_1.throwIfReservedName)(def.type, def.name);
|
|
7139
7148
|
const description = options?.description;
|
|
7140
|
-
if (def.type === "update")
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7149
|
+
if (def.type === "update") {
|
|
7150
|
+
if (typeof handler === "function") {
|
|
7151
|
+
const updateOptions = options;
|
|
7152
|
+
const validator = updateOptions?.validator;
|
|
7153
|
+
const unfinishedPolicy = updateOptions?.unfinishedPolicy ?? common_1.HandlerUnfinishedPolicy.WARN_AND_ABANDON;
|
|
7154
|
+
activator.updateHandlers.set(def.name, {
|
|
7155
|
+
handler,
|
|
7156
|
+
validator,
|
|
7157
|
+
description,
|
|
7158
|
+
unfinishedPolicy
|
|
7159
|
+
});
|
|
7160
|
+
activator.dispatchBufferedUpdates();
|
|
7161
|
+
} else if (handler == null) activator.updateHandlers.delete(def.name);
|
|
7162
|
+
else throw new TypeError(`Expected handler to be either a function or 'undefined'. Got: '${typeof handler}'`);
|
|
7163
|
+
} else if (def.type === "signal") {
|
|
7164
|
+
if (typeof handler === "function") {
|
|
7165
|
+
const unfinishedPolicy = options?.unfinishedPolicy ?? common_1.HandlerUnfinishedPolicy.WARN_AND_ABANDON;
|
|
7166
|
+
activator.signalHandlers.set(def.name, {
|
|
7167
|
+
handler,
|
|
7168
|
+
description,
|
|
7169
|
+
unfinishedPolicy
|
|
7170
|
+
});
|
|
7171
|
+
activator.dispatchBufferedSignals();
|
|
7172
|
+
} else if (handler == null) activator.signalHandlers.delete(def.name);
|
|
7173
|
+
else throw new TypeError(`Expected handler to be either a function or 'undefined'. Got: '${typeof handler}'`);
|
|
7174
|
+
} else if (def.type === "query") {
|
|
7175
|
+
if (typeof handler === "function") activator.queryHandlers.set(def.name, {
|
|
7156
7176
|
handler,
|
|
7157
|
-
description
|
|
7158
|
-
unfinishedPolicy
|
|
7177
|
+
description
|
|
7159
7178
|
});
|
|
7160
|
-
activator.
|
|
7161
|
-
|
|
7162
|
-
else throw new TypeError(`
|
|
7163
|
-
else if (def.type === "query") if (typeof handler === "function") activator.queryHandlers.set(def.name, {
|
|
7164
|
-
handler,
|
|
7165
|
-
description
|
|
7166
|
-
});
|
|
7167
|
-
else if (handler == null) activator.queryHandlers.delete(def.name);
|
|
7168
|
-
else throw new TypeError(`Expected handler to be either a function or 'undefined'. Got: '${typeof handler}'`);
|
|
7169
|
-
else throw new TypeError(`Invalid definition type: ${def.type}`);
|
|
7179
|
+
else if (handler == null) activator.queryHandlers.delete(def.name);
|
|
7180
|
+
else throw new TypeError(`Expected handler to be either a function or 'undefined'. Got: '${typeof handler}'`);
|
|
7181
|
+
} else throw new TypeError(`Invalid definition type: ${def.type}`);
|
|
7170
7182
|
}
|
|
7171
7183
|
/**
|
|
7172
7184
|
* Set a signal handler function that will handle signals calls for non-registered signal names.
|