frontend
    Preparing search index...

    Variable pokerApiConst

    pokerApi: {
        exec: (
            command:
                | "reset"
                | "stand"
                | "bet"
                | "exchange"
                | "fold"
                | "check"
                | "call"
                | "raise"
                | "allin"
                | "odds",
            indices?: number[],
            amount?: number,
            config?: PokerConfigInput,
            humanPlayMs?: number,
            profile?: unknown,
        ) => Promise<PokerResponse>;
    } = ...

    API client for the Poker /poker/exec endpoint.

    Type Declaration

    • exec: (
          command:
              | "reset"
              | "stand"
              | "bet"
              | "exchange"
              | "fold"
              | "check"
              | "call"
              | "raise"
              | "allin"
              | "odds",
          indices?: number[],
          amount?: number,
          config?: PokerConfigInput,
          humanPlayMs?: number,
          profile?: unknown,
      ) => Promise<PokerResponse>