This repository has been archived on 2023-05-29. You can view files and clone it, but cannot push or open issues or pull requests.
fp-ts-training/src/utils.ts

7 lines
216 B
TypeScript

export const unimplemented = () => undefined as any;
export const unimplementedAsync = () => () => undefined as any;
export function sleep(ms: number) {
return new Promise((resolve) => setTimeout(resolve, ms));
}