Package org.xmlet.htmlapifaster.async
Interface AwaitConsumer<T,M>
-
public interface AwaitConsumer<T,M>- Author:
- Pedro Fialho Generic class used to accept an async action on a Html element with a callback. The callback is to be called when the async action has reached the end.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(T first, M model, OnCompletion third)
-
-
-
Method Detail
-
accept
void accept(T first, M model, OnCompletion third)
- Parameters:
first- The current Html elementmodel- The model which contains the async source of datathird- The callback used to be notified once the async action terminates.
-
-