class Closure

Defined at line 117 of file ../../third_party/grpc-migrating/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 119 of file ../../third_party/grpc-migrating/src/include/grpc/event_engine/event_engine.h

void Closure (const Closure & )

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

Defined at line 121 of file ../../third_party/grpc-migrating/src/include/grpc/event_engine/event_engine.h

void Run ()

Run the contained code.

Closure & operator= (const Closure & )

Defined at line 122 of file ../../third_party/grpc-migrating/src/include/grpc/event_engine/event_engine.h

void ~Closure ()

Polymorphic type => virtual destructor

Defined at line 124 of file ../../third_party/grpc-migrating/src/include/grpc/event_engine/event_engine.h