LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Interface IEventProcessor

    Interface for an object that can send or store analytics events.

    Inherited Members
    IDisposable.Dispose()
    Namespace: LaunchDarkly.Sdk.Server.Subsystems
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public interface IEventProcessor : IDisposable
    Remarks

    Application code normally does not need to interact with IEventProcessor or its related parameter types. They are provided to allow a custom implementation or test fixture to be substituted for the SDK's normal analytics event logic.

    All of the Record methods must return as soon as possible without waiting for events to be delivered; event delivery is done asynchronously by a background task.

    Methods

    | Edit this page View Source

    Flush()

    Specifies that any buffered events should be sent as soon as possible, rather than waiting for the next flush interval.

    Declaration
    void Flush()
    See Also
    Flush()
    | Edit this page View Source

    FlushAndWait(TimeSpan)

    Specifies that any buffered events should be sent synchronously now.

    Declaration
    bool FlushAndWait(TimeSpan timeout)
    Parameters
    Type Name Description
    TimeSpan timeout
    Returns
    Type Description
    bool
    See Also
    FlushAndWait(TimeSpan)
    | Edit this page View Source

    RecordCustomEvent(CustomEvent)

    Records a custom event.

    Declaration
    void RecordCustomEvent(EventProcessorTypes.CustomEvent e)
    Parameters
    Type Name Description
    EventProcessorTypes.CustomEvent e

    parameters for a custom event

    | Edit this page View Source

    RecordEvaluationEvent(EvaluationEvent)

    Records the action of evaluating a feature flag.

    Declaration
    void RecordEvaluationEvent(EventProcessorTypes.EvaluationEvent e)
    Parameters
    Type Name Description
    EventProcessorTypes.EvaluationEvent e

    parameters for an evaluation event

    Remarks

    Depending on the feature flag properties and event properties, this may be transmitted to the events service as an individual event, or may only be added into summary data.

    | Edit this page View Source

    RecordIdentifyEvent(IdentifyEvent)

    Records a set of user properties.

    Declaration
    void RecordIdentifyEvent(EventProcessorTypes.IdentifyEvent e)
    Parameters
    Type Name Description
    EventProcessorTypes.IdentifyEvent e

    parameters for an identify event

    | Edit this page View Source

    RecordMigrationEvent(MigrationOpEvent)

    Records a migration operation evnet.

    Declaration
    void RecordMigrationEvent(EventProcessorTypes.MigrationOpEvent e)
    Parameters
    Type Name Description
    EventProcessorTypes.MigrationOpEvent e

    parameters for a migration op event

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX