class Closure

Defined at line 127 of file ../../third_party/grpc/src/include/grpc/event_engine/event_engine.h

A custom closure type for EventEngine task execution.

Throughout the EventEngine API,

ownership is retained by the

caller - the EventEngine will never delete a Closure, and upon

cancellation, the EventEngine will simply forget the Closure exists. The

caller is responsible for all necessary cleanup.

Public Methods

void Closure ()

Defined at line 129 of file ../../third_party/grpc/src/include/grpc/event_engine/event_engine.h

void Closure (const Closure & )

Closure's are an interface, and thus non-copyable.

Defined at line 131 of file ../../third_party/grpc/src/include/grpc/event_engine/event_engine.h

void Run ()

Run the contained code.

Closure & operator= (const Closure & )

Defined at line 132 of file ../../third_party/grpc/src/include/grpc/event_engine/event_engine.h

void ~Closure ()

Polymorphic type => virtual destructor

Defined at line 134 of file ../../third_party/grpc/src/include/grpc/event_engine/event_engine.h