adata.pubsub module

Publisher Subscriber framework

class Output

Bases: object

Standard output like class using echo.

echo(text, color=None, lf=True, marker=None, icon=None)

The Adata console print function sends a pubsub:app.echo message.

Top window’s OnEcho method is suscribed to the channel.

excepthook(etype, value, tb)

The application error handler.

Send error details to subscribed consoles.

param etype:Exception type
type etype:type
param value:Exception value
type value:Exception
param tb:Traceback
type tb:traceback

TODO: Create a subscription decorator for this topic

Previous topic

adata.mqtt module

Next topic

adata.service module