Interface ServerAsyncMethod
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Note: It is recommended to use event.data() method instead of first data
(WffBMObject) parameter from
asyncMethod(WffBMObject, Event) method as the
signature of the method will be changed to a single parameter method in next
major version.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classContains event data forasyncMethod(WffBMObject, Event). -
Method Summary
-
Method Details
-
asyncMethod
- Parameters:
data- the data received from the consumer i.e usually client browser. But, it is recommended to useServerAsyncMethod.Event.data()method to get the same data as the signature ofasyncMethod(WffBMObject, Event)method will be changed to a single parameter method in next major version.event-- Returns:
- the data to the consumer i.e usually client browser.
-