A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://glue-core.readthedocs.io/en/latest/api/glue.core.message.Message.html below:

Message — Glue documentation

Message#
class glue.core.message.Message(sender, tag=None)[source]#

Bases: object

Base class for messages that the hub handles.

Each message represents a specific kind of event. After clients register to a hub, the subscribe to specific message classes, and will only receive those kinds of messages.

The message class family is hierarchical, and a client subscribing to a message class implicitly subscribes to all of its subclasses.

Attr sender:

The object which sent the message

Attr tag:

An optional string describing the message

Create a new message

Parameters:
  • sender – The object sending the message

  • tag – An optional string describing the message


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4