use folly::FunctionRef for EventBase::run(ImmediatelyOrRun)?InEventBaseThreadAndWait
Summary: folly::FunctionRef never allocates memory and is cheaper to pass around. Use it in the interface of EventBase where we can. Reviewed By: yfeldblum Differential Revision: D4353992 fbshipit-source-id: 259c5214ed48d30981eb8e38b062aad31d80a080
Showing
Please register or sign in to comment