- Companion
- object
Value members
Inherited methods
Asynchronously aborts the process. This method returns immediately. Once the process is aborted,
it will dispatch an Aborted
event. This method may be called repeatedly, although calling
it twice does not have any particular effect.
Asynchronously aborts the process. This method returns immediately. Once the process is aborted,
it will dispatch an Aborted
event. This method may be called repeatedly, although calling
it twice does not have any particular effect.
- Inherited from
- ProcessorLike
Registers a listener for updates from the model.
A listener is simply a partial function which receives instances of U
. Therefore
the listener can decide with pattern match cases which updates it wants to handle.
Registers a listener for updates from the model.
A listener is simply a partial function which receives instances of U
. Therefore
the listener can decide with pattern match cases which updates it wants to handle.
Example:
m.addListener {
case NcviewSync.Open(path) => ...
}
Note: If the listener should be removed at some point, it is important to store it somewhere:
val l: NcviewSync.Listener = { case NcviewSync.Open(path) => ... }
m.addListener(l)
...
m.removeListener(l)
- Inherited from
- Model
Queries the correct progress which is value between 0.0 and 1.0
Queries the correct progress which is value between 0.0 and 1.0
- Inherited from
- ProcessorLike
- Inherited from
- Awaitable
- Inherited from
- Future
- Inherited from
- Future
Un-registers a listener for updates from the model.
Un-registers a listener for updates from the model.
- Inherited from
- Model
- Inherited from
- Awaitable
- Inherited from
- Future
- Inherited from
- Future