Package io.activej.async.function
Interface AsyncRunnable
- All Superinterfaces:
AsyncRunnableEx
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AsyncRunnableof(io.activej.common.function.RunnableEx runnable) Wraps aRunnableExinterface.run()static AsyncRunnablesanitize(AsyncRunnableEx runnable)
-
Method Details
-
run
- Specified by:
runin interfaceAsyncRunnableEx
-
of
Wraps aRunnableExinterface.- Parameters:
runnable- aRunnableEx- Returns:
AsyncRunnablethat works on top ofRunnableExinterface
-
sanitize
-