Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
eventscore
Light Logo Dark Logo
eventscore

On this page

  • Usage Guide
  • Installation
  • API Reference
    • Core Components
      • Abstract
      • Consumers
      • Ecore
      • Exceptions
      • Logging
      • Pipelines
      • Pkg Utils
      • Producers
      • Runners
      • Serializers
      • Streams
      • Types
      • Workers
    • Extensions
      • Redis Extension
        • Redis Serializers
        • Redis Streams
    • Decorators
    • Shortcuts
Back to top
View this page
Edit this page

Runners¶

class ObserverRunner(stream_factory, event, group, *consumers, max_events=-1, logger=<RootLogger root (DEBUG)>)[source]¶

Bases: IRunner

Parameters:
  • stream_factory (IStreamFactory)

  • event (str | StrEnum | IntEnum)

  • group (str | StrEnum | IntEnum)

  • consumers (IConsumer)

  • max_events (int)

  • logger (Logger)

run()[source]¶

Start runner

Returns:

None

Return type:

None

Next
Serializers
Previous
Producers
Copyright © 2025, Matvey Ivanov
Made with Sphinx and @pradyunsg's Furo
Last updated on May 15, 2025
On this page
  • Runners
    • ObserverRunner
      • ObserverRunner.run()