Package 

Class Waiter


  • 
    public final class Waiter
    
                        

    An abstraction which allows for a suspending function to coordinate the completion of an event.

    • Constructor Summary

      Constructors 
      Constructor Description
      Waiter()
    • Method Summary

      Modifier and Type Method Description
      final <ERROR CLASS> waitForWake() Suspend the caller until wake has been called at least one time.
      final Unit wake() Wake the suspending function that has called waitForWake.
      • Methods inherited from class java.lang.Object

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

      • Waiter

        Waiter()
    • Method Detail

      • waitForWake

         final <ERROR CLASS> waitForWake()

        Suspend the caller until wake has been called at least one time.