open fun complete(result: T): Unit
Set the result. Any handler will be called, if there is one, and the future will be marked as completed.
open fun complete(): Unit
Set a null result. Any handler will be called, if there is one, and the future will be marked as completed.