add support for reference types
Summary: This diff adds support for reference types to the Async abstraction. One example use-case is memoization where you generate the value asynchronously on cache-miss. You want may want to return a reference to avoid the expense of copying. Some additional context is in D21438851. Reviewed By: yfeldblum Differential Revision: D21478238 fbshipit-source-id: 53e1b997abed2d40f0a2f9ab935925ad9bbc91ab
Showing
Please register or sign in to comment