stores
    Preparing search index...

    Interface Store<Key, Input, Output, InputPair, OutputPair, HasOptionsExtension, PutOptionsExtension, PutManyOptionsExtension, GetOptionsExtension, GetManyOptionsExtension, DeleteOptionsExtension, DeleteManyOptionsExtension>

    interface Store<
        Key,
        Input,
        Output,
        InputPair,
        OutputPair,
        HasOptionsExtension = {},
        PutOptionsExtension = {},
        PutManyOptionsExtension = {},
        GetOptionsExtension = {},
        GetManyOptionsExtension = {},
        DeleteOptionsExtension = {},
        DeleteManyOptionsExtension = {},
    > {
        delete(
            key: Key,
            options?: AbortOptions & DeleteOptionsExtension,
        ): void | Promise<void>;
        deleteMany(
            source: Iterable<Key, any, any> | AsyncIterable<Key, any, any>,
            options?: AbortOptions & DeleteManyOptionsExtension,
        ): Generator<Key, any, any> | AsyncGenerator<Key, any, any>;
        get(key: Key, options?: AbortOptions & GetOptionsExtension): Output;
        getMany(
            source: Iterable<Key, any, any> | AsyncIterable<Key, any, any>,
            options?: AbortOptions & GetManyOptionsExtension,
        ): Generator<OutputPair, any, any> | AsyncGenerator<OutputPair, any, any>;
        has(
            key: Key,
            options?: AbortOptions & HasOptionsExtension,
        ): boolean | Promise<boolean>;
        put(
            key: Key,
            val: Input,
            options?: AbortOptions & PutOptionsExtension,
        ): Key | Promise<Key>;
        putMany(
            source:
                | Iterable<InputPair, any, any>
                | AsyncIterable<InputPair, any, any>,
            options?: AbortOptions & PutManyOptionsExtension,
        ): Generator<Key, any, any> | AsyncGenerator<Key, any, any>;
    }

    Type Parameters

    • Key
    • Input
    • Output
    • InputPair
    • OutputPair
    • HasOptionsExtension = {}
    • PutOptionsExtension = {}
    • PutManyOptionsExtension = {}
    • GetOptionsExtension = {}
    • GetManyOptionsExtension = {}
    • DeleteOptionsExtension = {}
    • DeleteManyOptionsExtension = {}

    Hierarchy (View Summary)

    Index

    Methods