UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

12 lines • 374 B
export type NativeSyncHost<T> = { readonly id: number; get(): T; set(value: T): void; setOnChange(listener: ((value: T) => void) | null): void; release(): void; }; export type NativeSyncFactory = { create<T>(initial: T): NativeSyncHost<T>; }; export declare function getNativeSyncFactory(): NativeSyncFactory; //# sourceMappingURL=syncNative.d.ts.map