- Preparing search index...
- The search index is not available
cardstack
- poll(fn: (() => Promise<unknown>), fnCondition: ((arg: unknown) => boolean), periodMs: number, timeoutMs?: number): Promise<unknown>
-
Parameters
-
fn: (() => Promise<unknown>)
-
- (): Promise<unknown>
-
Returns Promise<unknown>
-
fnCondition: ((arg: unknown) => boolean)
-
- (arg: unknown): boolean
-
Returns boolean
-
periodMs: number
-
timeoutMs: number = ...
Returns Promise<unknown>