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 Detail

      • accept

        void accept​(T first,
                    M model,
                    OnCompletion third)
        Parameters:
        first - The current Html element
        model - The model which contains the async source of data
        third - The callback used to be notified once the async action terminates.