mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-29 12:10:24 +00:00
7 lines
244 B
TypeScript
7 lines
244 B
TypeScript
import { AsyncResult } from '../utils/results.js';
|
|
|
|
declare function useAsyncExternalStore<T>(subscribe: (callback: (t: T) => void) => (() => void)): AsyncResult<T, never> & {
|
|
status: "ok" | "pending";
|
|
};
|
|
|
|
export { useAsyncExternalStore };
|