Open Play SDK API başvurusu
    Preparing search index...

    Interface PluginRequestExecutor

    Plugin executor; HTTP player client bunu sağlar, testte deterministic fake kullanılabilir.

    interface PluginRequestExecutor {
        execute?: (
            attempt: PluginCommandAttempt,
            options: RequestOptions,
        ) => Promise<JsonValue>;
        lookup?(
            operation: PluginOperationDefinition,
            key: IdempotencyKey,
            options: RequestOptions,
        ): Promise<PluginCommandLookup>;
        request(
            operation: PluginOperationDefinition,
            payload: JsonValue,
            options: PluginExecuteOptions,
        ): Promise<JsonValue>;
    }
    Index

    Properties

    Methods

    Properties

    execute?: (
        attempt: PluginCommandAttempt,
        options: RequestOptions,
    ) => Promise<JsonValue>

    Ortak logical command contract'ının native tek-deneme uygulaması; eski executor'larda yoktur.

    Type Declaration

    Methods