Hiyve Components - v1.0.0
    Preparing search index...

    Interface UseJoinTokenActions

    Actions returned by the useJoinToken hook.

    interface UseJoinTokenActions {
        clearError: () => void;
        joinRoom: (userId: string, password?: string) => Promise<void>;
        reset: () => void;
        validateToken: (password?: string) => Promise<void>;
    }
    Index

    Properties

    clearError: () => void

    Clear the current error.

    joinRoom: (userId: string, password?: string) => Promise<void>

    Join the room using the validated token.

    reset: () => void

    Reset all state to initial values.

    validateToken: (password?: string) => Promise<void>

    Validate the token and get room info. Pass password if required.