Skip to content

Commit

Permalink
0.64: remove unused failureCallback in example
Browse files Browse the repository at this point in the history
  • Loading branch information
Atrox committed Jun 23, 2021
1 parent 68cf548 commit 4d94de6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ There are two approaches to error handling with callbacks. The first is to follo

```java
@ReactMethod
public void createCalendarEvent(String name, String location, Callback myFailureCallback, Callback callBack) {
public void createCalendarEvent(String name, String location, Callback callBack) {
Integer eventId = ...
callBack.invoke(null, eventId);
}
Expand Down

0 comments on commit 4d94de6

Please sign in to comment.