Module: InstantRecord::Syncable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/instant_record/syncable.rb
Overview
Makes a model local-first syncable. The same file loads in both runtimes: in the browser (ruby.wasm) every write also records an outbox mutation in the same local transaction; on the server the concern only provides the shared column conventions (uuid ids, server_version, sync_state).