Interface IQueue<T>

Type Parameters

  • T = any

Hierarchy

  • IQueue

Implemented by

Properties

additional?: string[]

Append lines with these commands to buffer.

await: string

Wait for this command from the server.

buffer?: T

Buffer list of additional data.

from?: string

From nickname, used for NOTICE and PRIVMSG collectors.

untracked?: boolean

Methods

  • Line matching commands in additional will call this function. Use it to populate the buffer.

    Parameters

    Returns void

  • Resolve the collector.

    Parameters

    • line: IIRCLine

      The line resolving to await

    • Optional data: T

      Additional data in buffer, usually only present when using additional

    Returns void

  • Match the lines you're looking for.

    Parameters

    Returns boolean

Generated using TypeDoc