create abstract method

Future<Storage> create(
  1. WorkerHandlerContext context,
  2. SyncEngineConfig config
)

Creates a storage instance for the worker thread.

Called once during worker initialization. The config provides the sync engine configuration, and context provides access to any connectors from StorageMainHandler.create.

Returns a Storage implementation that handles local persistence.

Implementation

Future<Storage> create(WorkerHandlerContext context, SyncEngineConfig config);