Interface InvocationCancellation
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Trusted transport cancellation signal; registration never grants authority or promises undo.
-
Method Summary
Modifier and TypeMethodDescriptionRegisters a cancellation listener, including an already observed cancellation.
-
Method Details
-
listen
Registers a cancellation listener, including an already observed cancellation.- Parameters:
listener- cooperative signal callback- Returns:
- idempotent listener detachment owned by the physical invocation
-