Tarant Local Storage

Motivation Usually complex applications need to store offline part of the state, so it can be synced back or reused later. This module lets tarant store your actors serialized in the local storage and recovered implicitly. Installation Add it to your project using npm install tarant-local-storage --save or yarn add tarant-local-storage Usage You need to mark which classes need to be exported first. Usually this is done with the LocalStoragePersisted

Tarant DB Persist

Motivation Provide the capabilities to actors on the backend to be persisted using waterline adapters. Installation add it to your project using npm install tarant-db-persist --save or yarn add tarant-db-persist Usage Initialize the sync client with the waterline adapter from the persist storage you will be interested on import { ActorSystem, ActorSystemConfigurationBuilder } from 'tarant'; import * as diskAdapter from 'sails-disk'; import { PersistResolverMaterializer } from 'tarant-db-persist'; import AppActor from '.