You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as much as we’re going all the way from 1.9.0 to 5.1.0 there’s only two real
changes needed:
1. Promesa now allows for a configurable promise type.
I’ve used the same “define a fn to extend the implementation class, call it
on the default class” pattern as used in `promesa.impl` to add
implementations of the `Contextual` and `Extract` protocols.
2. The protocol fn `-catch` has been removed, replaced by `-mapErr` and
`-thenErr`.
I’ve replaced it’s use with `-thenErr` (as promise flattening in an error
handler seems more appropriate than not.)
0 commit comments