Add ability to silence callbacks for Subprocess::communicate
Summary: Subprocess::communicate callbacks are level-triggered, which makes writing "chatty" communication protocols difficult -- you often want to silence the write callback until you read the expected message. Add Subprocess::enableNotifications() for this purpose. Test Plan: test added Reviewed By: lucian@fb.com FB internal diff: D1251564 @override-unit-failures
Showing
Please register or sign in to comment