Returns the reactive version of an object from the database, given its snapshot. Inverse of Obj.getSnapshot.
Obj.getSnapshot
Uses Obj.getDatabase internally to get the database from the snapshot, then resolves the reactive object by ID.
Obj.getDatabase
A snapshot of the object (from Obj.getSnapshot).
Effect that succeeds with the reactive object, or fails with GetReactiveError.
GetReactiveError
const snapshot = Obj.getSnapshot(obj);const reactive = Obj.getReactive(snapshot).pipe( Effect.runSync); Copy
const snapshot = Obj.getSnapshot(obj);const reactive = Obj.getReactive(snapshot).pipe( Effect.runSync);
O(1) working-set lookup by id; never loads from disk.
Returns the reactive version of an object from the database, given its snapshot. Inverse of
Obj.getSnapshot.Uses
Obj.getDatabaseinternally to get the database from the snapshot, then resolves the reactive object by ID.