UNPKG

@tevm/sync-storage-persister

Version:

A package for persisting the state of the EVM to a sync storage

6 lines (5 loc) 225 B
/** * @internal * A minimally typesafe type for thottle fn that isn't expected to care about return type */ export type ThrottleFn = <TFunction extends (...args: any[]) => any>(func: TFunction, wait?: number) => TFunction