UNPKG
@pgchain/blockchain-libs
Version:
latest (0.0.2)
0.0.2
0.0.1
PGWallet Blockchain Libs
github.com/pgchain/blockchain-libs
pgchain/blockchain-libs
@pgchain/blockchain-libs
/
dist
/
basic
/
promise-plus.d.ts
4 lines
(3 loc)
•
227 B
TypeScript
View Raw
1
2
3
4
declare
const
createDelayPromise
: <T>
(
delay
:
number
,
value
?: T |
undefined
) =>
Promise
<T |
undefined
>;
declare
const
createAnyPromise
: <T>
(
promises
:
Promise
<T>[]
) =>
Promise
<T>;
export
{ createDelayPromise, createAnyPromise };