...
Async event handlers must have the following signature :return void
, and accept a single argument of type AsyncResponse
:
Code Block | ||||
---|---|---|---|---|
| ||||
public void doSomething(AsyncResponse asyncResponse); |
...
When handling such events, Stripes will start the asynchronous cycle, and let you complete by invoking one of the asyncResponse.complete()
variants.
...