Documentation
    Preparing search index...

    Interface MockStatePersistenceOptions

    Options for createMockStatePersistence.

    const options: MockStatePersistenceOptions = {
    seed: { 'napplet-state:feed:abc:theme': 'dark' },
    };
    interface MockStatePersistenceOptions {
        seed?: Readonly<Record<string, string>>;
    }
    Index

    Properties

    Properties

    seed?: Readonly<Record<string, string>>

    Initial entries keyed by the runtime's pre-scoped key (napplet-state:<dTag>:<aggregateHash>:<userKey>). Restored by reset().