Class Negotiation::Worker

Nested Relationships

This class is a nested type of Class Negotiation.

Class Documentation

class Worker

The Worker class can be used to make the Negotiation asynchronous.

Public Functions

virtual void schedule(std::function<void()> job) = 0

Tell the worker to add a callback to its schedule. It is imperative that this function is thread-safe.

virtual ~Worker() = default