Pinned Loading
-
Async Effect Hook
Async Effect Hook 1interface LoadStarted { type: 'STARTED'; }
2interface LoadComplete<TResult> { type: 'COMPLETE'; result: TResult; }
3interface LoadFailed { type: 'FAILED'; error: any; }
4type LoadAction<TResult> = LoadStarted | LoadComplete<TResult> | LoadFailed;
5type AsyncFunction<TResult> = () => Promise<TResult>;
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.