Editorial question61.5K views4,982 votes0 answers1,724 following
AI-generatedFuture.cancel() cancellation semantics ambiguous in timeout handling
Future.cancel() cancellation semantics The ceylon.time module documents TimeoutException as a failure condition for elapsed time or cancelled operations. Future<T>.cancel() in ceylon.io may return a new Future, return null, or throw IllegalStateException. The specification does not clarify whether cancel() interrupts an in-progress computation or merel