Comparing version 0.0.5 to 0.0.6
@@ -1,11 +0,11 @@ | ||
import { BunchoidConfig } from './types'; | ||
import { BunchoidConfig, BunchoidExecutionArgs } from './types'; | ||
declare const globalIsolate: { | ||
<T, P>(fn: () => T | Promise<T>, config: Omit<BunchoidConfig<P>, "includeMeta"> & { | ||
<T, P>(fn: (a: BunchoidExecutionArgs<P>) => T | Promise<T>, config: Omit<BunchoidConfig<P>, "includeMeta"> & { | ||
includeMeta: false; | ||
}): Promise<T>; | ||
<T_1, P_1>(fn: () => T_1 | Promise<T_1>, config: Omit<BunchoidConfig<P_1>, "includeMeta"> & { | ||
<T_1, P_1>(fn: (a: BunchoidExecutionArgs<P_1>) => T_1 | Promise<T_1>, config: Omit<BunchoidConfig<P_1>, "includeMeta"> & { | ||
includeMeta: undefined; | ||
}): Promise<T_1>; | ||
<T_2, P_2>(fn: () => T_2 | Promise<T_2>, config: Omit<BunchoidConfig<P_2>, "includeMeta">): Promise<T_2>; | ||
<T_3, P_3>(fn: () => T_3 | Promise<T_3>, config: Omit<BunchoidConfig<P_3>, "includeMeta"> & { | ||
<T_2, P_2>(fn: (a: BunchoidExecutionArgs<P_2>) => T_2 | Promise<T_2>, config: Omit<BunchoidConfig<P_2>, "includeMeta">): Promise<T_2>; | ||
<T_3, P_3>(fn: (a: BunchoidExecutionArgs<P_3>) => T_3 | Promise<T_3>, config: Omit<BunchoidConfig<P_3>, "includeMeta"> & { | ||
includeMeta: true; | ||
@@ -50,10 +50,10 @@ }): Promise<{ | ||
}): { | ||
<T, P>(fn: () => T | Promise<T>, config: Omit<BunchoidConfig<P>, "includeMeta"> & { | ||
<T, P>(fn: (a: BunchoidExecutionArgs<P>) => T | Promise<T>, config: Omit<BunchoidConfig<P>, "includeMeta"> & { | ||
includeMeta: false; | ||
}): Promise<T>; | ||
<T_1, P_1>(fn: () => T_1 | Promise<T_1>, config: Omit<BunchoidConfig<P_1>, "includeMeta"> & { | ||
<T_1, P_1>(fn: (a: BunchoidExecutionArgs<P_1>) => T_1 | Promise<T_1>, config: Omit<BunchoidConfig<P_1>, "includeMeta"> & { | ||
includeMeta: undefined; | ||
}): Promise<T_1>; | ||
<T_2, P_2>(fn: () => T_2 | Promise<T_2>, config: Omit<BunchoidConfig<P_2>, "includeMeta">): Promise<T_2>; | ||
<T_3, P_3>(fn: () => T_3 | Promise<T_3>, config: Omit<BunchoidConfig<P_3>, "includeMeta"> & { | ||
<T_2, P_2>(fn: (a: BunchoidExecutionArgs<P_2>) => T_2 | Promise<T_2>, config: Omit<BunchoidConfig<P_2>, "includeMeta">): Promise<T_2>; | ||
<T_3, P_3>(fn: (a: BunchoidExecutionArgs<P_3>) => T_3 | Promise<T_3>, config: Omit<BunchoidConfig<P_3>, "includeMeta"> & { | ||
includeMeta: true; | ||
@@ -60,0 +60,0 @@ }): Promise<{ |
{ | ||
"name": "bunchoid", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Library for grouping/caching function calls.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
20952