"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolveValueSync = exports.resolveValue = void 0; async function resolveValue(...fns) { for (const fn of fns) { const result = await fn(); if (typeof result !== 'undefined') { return result; } } } exports.resolveValue = resolveValue; function resolveValueSync(...fns) { for (const fn of fns) { const result = fn(); if (typeof result !== 'undefined') { return result; } } } exports.resolveValueSync = resolveValueSync;
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
fn.d.ts | File | 200 B | 0644 |
|
fn.js | File | 591 B | 0644 |
|
ipc.d.ts | File | 1.67 KB | 0644 |
|
ipc.js | File | 5.2 KB | 0644 |
|
node.d.ts | File | 637 B | 0644 |
|
node.js | File | 1.7 KB | 0644 |
|
promise.d.ts | File | 1.22 KB | 0644 |
|
promise.js | File | 1.64 KB | 0644 |
|
string.d.ts | File | 677 B | 0644 |
|
string.js | File | 1.53 KB | 0644 |
|