diff --git a/src/concurrency/lazy-thenable.ts b/src/concurrency/lazy-thenable.ts index 6e1912a..d060d3a 100644 --- a/src/concurrency/lazy-thenable.ts +++ b/src/concurrency/lazy-thenable.ts @@ -3,7 +3,7 @@ * @param io * @return */ -export function lazyThenable(io: () => T): LazyThenable> { +export function lazyThenable(io: () => T | PromiseLike): LazyThenable> { let r: null | Promise> = null; return { get executed(): boolean {