Submits a work item to be run in sequence.

Synopsis

Declared in <folly/coro/SerialQueueRunner.h>

void
add(Work task);

Parameters

Name

Description

task

the work item to enqueue; it must not throw when awaited

Created with MrDocs