add overloads

Synopses

Declared in <folly/Executor.h>

Implements the Executor interface

virtual
void
add(Cob fn) override;

Enqueue a function to be executed by this executor. This and all variants must be threadsafe.

virtual
void
add(Func func) = 0;

Parameters

Name

Description

fn

The function to run in the EventBase thread.

func

The unit of work to enqueue.

Created with MrDocs