Custom Business Logic Async Call

I’m having trouble creating a custom business logic call that is asynchronous. I create my custom business logic using Java. And then I’m downloading the generated javascript sdk. I created the asynchronous method in java but I’m not sure how to return a value from the asynchronous method. Can you give an example of how to call a custom business logic method asynchronously that returns a value?

Hi Phil,

You’ll have to add an AsyncCallback argument, which will handle the response in a separate thread. Please refer to the documentation: https://backendless.com/documentation/business-logic/java/bl_custom_events.htm