ENGLISH·COURSE API
    Preparing search index...

    The submission state of one account form.

    type AccountSubmission = {
        isReady: boolean;
        errorKey: AccountErrorKey | undefined;
        challengeKey: number;
        run: (request: AccountRequest) => Promise<boolean>;
    }
    Index

    Properties

    isReady: boolean

    Whether the form may be submitted: not in flight, and challenge passed when challenged.

    errorKey: AccountErrorKey | undefined

    The Account.errors key of the last refusal, cleared on the next attempt.

    challengeKey: number

    Remount the TurnstileChallenge with this key; it changes when a token is spent.

    run: (request: AccountRequest) => Promise<boolean>

    Runs the request; resolves true when the server accepted it.