Interface AwaitConsumer

  • All Implemented Interfaces:

    
    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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void accept(T first, M model, OnCompletion third)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • accept

         abstract 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.