The host must atomically reject writes whose expectedRevision is stale.

interface WatchlistStorage {
    read(namespace: string): Promise<unknown>;
    write(
        namespace: string,
        catalog: WatchlistCatalog,
        expectedRevision: number,
        options?: WatchlistOperationOptions,
    ): Promise<void>;
}

Methods

Methods