interface SynchronizeStorageOptions<Value> {
    serializer?: Serializer<ExecutorState<Value>>;
    storageKey?: string | ((executor) => string);
}

Type Parameters

  • Value

Properties

The storage record serializer.

storageKey?: string | ((executor) => string)

A storage key, or a callback that returns the storage key.

Type declaration

    • (executor): string
    • Parameters

      Returns string