Creates a backend suitable for tests.

Synopsis

Declared in <folly/io/async/EventBase.h>

static
std::unique_ptr<EventBaseBackendBase>
getTestBackend(int napiId);

Return Value

The test backend.

Parameters

Name

Description

napiId

The NAPI id used by the test backend.

Created with MrDocs