Support multiple inputs to ShallowCopyScopeGuard
Summary: With the current constructor setup, overwriting multiple request datas involves chaining together multiple ShallowCopyScopeGuard. This is quite inefficient as it involves copying the requests-data/callbacks maps multiple times. This diff introduces a new variadic constructor that accepts RequestDataItems (named pair of token and data) Reviewed By: A5he Differential Revision: D25317291 fbshipit-source-id: 8a9cb00a615ecf802f22727189e4dc5a0c056c73
Showing
Please register or sign in to comment