Skip to content

Add Client Event Observation #100

@toddbaert

Description

@toddbaert

Add event observation methods to the Client interface for parity with OpenFeatureAPI.observe().

Specification References:

  • 5.2.1: The client MUST provide a function for associating handler functions with a particular provider event type.

Implementation Notes:

  • Add Client.observe() -> AnyPublisher<ProviderEvent?, Never> method
  • Currently only OpenFeatureAPI.shared.observe() exists
  • Client-level observation should filter to events from the client's associated provider

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Pending

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions