Namespaces

Records

Functions

  • void SetEventEngineFactory (absl::AnyInvocable<std::unique_ptr<EventEngine> ()> factory)

    Replace gRPC's default EventEngine factory.

    Applications may call

    at any time to replace the

    default factory used within gRPC. EventEngines will be created when

    necessary, when they are otherwise not provided by the application.

    To be certain that none of the gRPC-provided built-in EventEngines are

    created, applications must set a custom EventEngine factory method *before*

    grpc is initialized.

  • void EventEngineFactoryReset ()

    Reset gRPC's EventEngine factory to the built-in default.

    Applications that have called

    can remove their

    custom factory using this method. The built-in EventEngine factories will be

    used going forward. This has no affect on any EventEngines that were created

    using the previous factories.

  • std::unique_ptr<EventEngine> CreateEventEngine ()

    Create an EventEngine using the default factory.

  • bool operator== (const EventEngine::TaskHandle & lhs, const EventEngine::TaskHandle & rhs)
  • bool operator!= (const EventEngine::TaskHandle & lhs, const EventEngine::TaskHandle & rhs)
  • std::ostream & operator<< (std::ostream & out, const EventEngine::TaskHandle & handle)
  • bool operator== (const EventEngine::ConnectionHandle & lhs, const EventEngine::ConnectionHandle & rhs)
  • bool operator!= (const EventEngine::ConnectionHandle & lhs, const EventEngine::ConnectionHandle & rhs)
  • std::ostream & operator<< (std::ostream & outconst EventEngine::ConnectionHandle & handle)