Package io.activej.async.service
Interface ReactiveService
- All Superinterfaces:
Reactive
- All Known Implementing Classes:
TaskScheduler
This interface is for services that can be started and then stopped
in the context of reactor, so it works with
Promise-
Method Summary
Modifier and TypeMethodDescriptionPromise<?>start()Starts this component asynchronously.default CompletableFuture<?>Promise<?>stop()Stops this component asynchronously.default CompletableFuture<?>Methods inherited from interface io.activej.reactor.Reactive
getReactor
-
Method Details