EventMaker

class safir.dependencies.metrics.EventMaker

Bases: ABC

A blueprint for an event publisher container class.

Methods Summary

initialize(manager)

Create event publishers and assign to instance attributes.

Methods Documentation

abstract async initialize(manager)

Create event publishers and assign to instance attributes.

Use manager.create_publisher to assign event publishers to instance attributes.

Parameters:

manager (EventManager) – An EventManager to create event publishers

Return type:

None