Home
last modified time | relevance | path

Searched refs:guardAsync (Results 1 – 3 of 3) sorted by relevance

/expo/packages/@expo/cli/src/utils/__tests__/
H A Dfn-test.ts1 import { memoize, guardAsync } from '../fn';
14 describe(guardAsync, () => {
17 const guard = guardAsync(fn);
/expo/packages/@expo/cli/src/utils/
H A Dexit.ts1 import { guardAsync } from './fn';
39 return guardAsync(async () => {
H A Dfn.ts16 export function guardAsync<V, T extends (...args: any[]) => Promise<V>>(fn: T): T { function