class CancellableTaskScheduler: Any
Fields
| Name | Description |
|---|---|
val timeout: Long
|
Constructors
<init>
constructor(timeout: Long)
Parameters
| Name | Description |
|---|---|
timeout: Long
|
Methods
submit
fun <T> submit(task: Callable<T>?): Future<T>
Parameters
| Name | Description |
|---|---|
task: Callable<T>?
|
ReturnValue
| Name | Description |
|---|---|
Future<T>
|