-
Notifications
You must be signed in to change notification settings - Fork 580
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util-core: Make Future.raiseWithin take a thunk Throwable
Problem Future.raiseWithin takes an Exception value as an argument which is inconsistent with the other Future timer based API's and can be costly since creating an exception often necessitates creating a stacktrace. Solution Make the exception call-by-name. JIRA Issues: CSL-7133 TBR=true Differential Revision: https://phabricator.twitter.biz/D229559
- Loading branch information
Bryce Anderson
authored and
jenkins
committed
Oct 22, 2018
1 parent
cdf2b45
commit 9bde57c
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters