providers.testing.InMemEventPublisher

An in-memory EventPublisher for testing purposes.

Usage

Source

providers.testing.InMemEventPublisher()

Please note, this only works when publisher and consumers are running in the same thread. Not suitable for inter-thread or inter-process communication.

Methods

Name Description
__init__() Initialize with existing event_store or let it create a new one.

__init__()

Initialize with existing event_store or let it create a new one.

Usage

Source

__init__(event_store=None)