SharedPromise in OutputBufferingHandler
authorJames Sedgwick <jsedgwick@fb.com>
Wed, 13 May 2015 01:42:39 +0000 (18:42 -0700)
committerViswanath Sivakumar <viswanath@fb.com>
Wed, 20 May 2015 17:56:58 +0000 (10:56 -0700)
commit86d0e6a9d4745170e4638ae38154c10b323a2a59
treea300c3b58cdd78ab4c0f64eb3ec1ceee2eabc3d7
parentc5dabddc2f804c33dfeb7e248d697bf69f6c90cf
SharedPromise in OutputBufferingHandler

Summary:
as above. I'm torn on whether to sugar "*this = SharedPromise<T>" as SharedPromise<T>::reset()
If I see another use case I'll probably do it

Test Plan: unit

Reviewed By: hans@fb.com

Subscribers: fugalh, folly-diffs@, jsedgwick, yfeldblum, chalfant

FB internal diff: D2064449

Signature: t1:2064449:1431476780:7113366b11feaf9e8a4ea1dc60fbafb36dd46ac5
folly/futures/SharedPromise.h
folly/wangle/channel/OutputBufferingHandler.h
folly/wangle/channel/test/OutputBufferingHandlerTest.cpp