Conversation
Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
snowleopard
left a comment
There was a problem hiding this comment.
Looks fine to me, assuming there are use-cases.
|
Yes, this is being used in LSP which vendors fiber. Thanks you for the review! |
|
So, we have this for |
|
Alright, I reverted.
…On Apr 29, 2020, 7:23 AM -0700, Jérémie Dimino ***@***.***>, wrote:
So, we have this for Deferred in Async and its usage is not unanimous. It's like marmite, some love it some hate it. @rgrinberg if this is only used in LSP, I'd rather that this code lives in LSP. It doesn't need to be part of the Fiber module.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
|
Presumably, if we want to discourage the use of I personally don't feel strongly one way or another, but if we want to stick to val with_all_errors_handler :
(unit -> 'a t) -> on_error:(Exn_with_backtrace.t list -> unit) -> 'a tP.S.: In a parallel discussion with @jeremiedimino, we also thought that it would be useful to make |
Sounds like a good idea. Shall we make an issue for this at least? |
|
@rgrinberg Done: #3439. |
No description provided.