-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to an overridable
onFailure
method in InngestFunction
This removes the `WithFailureHandler` interface and instead provides an overridable `onFailure` method in `InngestFunction` that can be used to define a function to be called when the function fails. It's used in the same way but without the need to implement an interface ``` public class WithOnFailureFunction extends InngestFunction { @nullable @OverRide public String onFailure(@NotNull FunctionContext ctx, @NotNull Step step) { ... } } ```
- Loading branch information
Showing
5 changed files
with
22 additions
and
25 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
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
This file was deleted.
Oops, something went wrong.