Class Future


  • public class Future
    extends Object
    A simple future which can complete once, and calls some callback(s) when it does so.
    • Method Detail

      • register_callback_fn

        public void register_callback_fn​(FutureCallback callback)
        Registers a callback to be called upon completion of this future. If the future has already completed, the callback will be called immediately.