Dispatcher

A library for event-driven programming
Download

Dispatcher Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Price:
  • FREE
  • Publisher Name:
  • Olivier Verdier
  • Publisher web site:
  • https://github.com/olivierverdier/

Dispatcher Tags


Dispatcher Description

dispatcher is a Python library extracted from Django's dispatch module.OverviewSignals are useful when two otherwise unrelated pieces of code depend on each other.The general pattern is that a *receiver* (or listener) may *subscribe* (or listen) to the *signal* of a *sender*.When the sender sends (or broadcasts) a signal, the receiver is called.Here is an excerpt from the PyPubSub documentation about the advantages of the signal pattern:* the sender/listener do not need to import each other;* a sender doesn't need to know * "who" gets the messages, * what the listeners will do with the data, * or even *if* any listener will get the message data;* similarly, listeners do not necessarily need to worry about where messages come from.Product's homepage


Dispatcher Related Software