Commit 968945c5 authored by Lee Howes's avatar Lee Howes Committed by Facebook Github Bot

Quick comment on DE to clarify use cases and lack of thread safety.

Summary: (Note: this ignores all push blocking failures!)

Reviewed By: yfeldblum

Differential Revision: D6212919

fbshipit-source-id: b066d99e13e97cbab489132bcb91872ed4407f81
parent 6e142c0d
......@@ -155,6 +155,11 @@ struct Extract<R (&)(Args...)> {
/**
* Defer work until executor is actively boosted.
*
* NOTE: that this executor is a private implementation detail belonging to the
* Folly Futures library and not intended to be used elsewhere. It is designed
* specifically for the use case of deferring work on a SemiFuture. It is NOT
* thread safe. Please do not use for any other purpose without great care.
*/
class DeferredExecutor final : public Executor {
public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment