LogoRobo.js
Packages@robojs/sync

SyncBoxHandle<T>

Interface: SyncBoxHandle<T>

Imperative handle for SyncBox ref.

Type Parameters

Type ParameterDefault type
Tunknown

Properties

PropertyTypeDescription
getState() => undefined | TGet current state
getSyncStatus() => SyncStatusGet current sync status
lock?LockContextLock context (only available when lockable=true)
setStateSyncBoxSetState<T>Update state (partial or updater function)

On this page