[][src]Module twitchchat::client

Event handling.

You can get a Dispatcher from the Client.

A dispatcher can be subscribed to. Subscribing will then produce a Stream of discrete messages for the events.

Stream cancellation

When the dispatcher is dropped, all of the streams will produce None.

You can clear event subscriptions for specific events or for all events

Structs

Client

Client allows for reading and writing.

Dispatcher

An event dispatcher

EventStream

A Stream that produces an item

Writer

A writer that allows sending messages to the client

Enums

Error

An error returned by the Client

Status

Status of the client after running