Flarum (2.x)
    Preparing search index...

    Holds the set of users currently typing in a discussion.

    The realtime socket feeds incoming client-typing events in via add, and the TypingIndicator component reads the live, expiry-pruned set via active. Keeping this state separate from PostStream lets the indicator be rendered anywhere — a theme or extension can hold its own TypingState and pass it to without touching PostStream.

    Index

    Constructors

    Properties

    truncationTimer: Timeout | null = null
    usersTyping: TypingUserMap = {}

    Methods