TaskCompletionSourceTask<T>
Overview
Location
- Reference: cooper.jar
- Namespace: RemObjects.Elements.System
- Ancestry: Task | Task1<T> | TaskCompletionSourceTask<T>
constructor (Callable<T>, Object)
constructor(aIn: Callable<T>; aState: Object)
TaskCompletionSourceTask<T>(Callable<T> aIn, Object aState)
init(_ aIn: Callable<T>, _ aState: Object)
TaskCompletionSourceTask<T>(Callable<T> aIn, Object aState)
Sub New(aIn As Callable<T>, aState As Object)
Parameters:
- aIn:
- aState:
constructor(aIn: Runnable; aState: Object)
TaskCompletionSourceTask<T>(Runnable aIn, Object aState)
init(_ aIn: Runnable, _ aState: Object)
TaskCompletionSourceTask<T>(Runnable aIn, Object aState)
Sub New(aIn As Runnable, aState As Object)
Parameters:
- aIn:
- aState:
constructor <clinit> External (declared in Task)
class method constructor <clinit>(+)
static void constructor <clinit>(+ )
static func constructor <clinit>(_ +)
static void constructor <clinit>(+ )
Shared Sub constructor <clinit>( As +)
Parameters:
- :
AsyncState (declared in Task)
property AsyncState: Object read;
Object AsyncState { get; }
var AsyncState: Object { get{} }
Object AsyncState { __get; }
ReadOnly Property AsyncState() As Object
Await (declared in Task)
method Await(aCompletion: IAwaitCompletion): Boolean
Boolean Await(IAwaitCompletion aCompletion)
func Await(_ aCompletion: IAwaitCompletion) -> Boolean
Boolean Await(IAwaitCompletion aCompletion)
Function Await(aCompletion As IAwaitCompletion) As Boolean
Parameters:
- aCompletion:
CompletedTask (declared in Task)
class property CompletedTask: Task read;
class Task CompletedTask { get; }
static var CompletedTask: Task { get{} }
class Task CompletedTask { __get; }
Shared ReadOnly Property CompletedTask() As Task
Parameters:
- aAction:
- aState:
Parameters:
- aAction:
- aState:
ContinueWith<T> (declared in Task)
Parameters:
- aAction:
- aState:
ContinueWith<TR> (declared in Task1<T>)
Parameters:
- aAction:
- aState:
Exception (declared in Task)
property Exception: Throwable read;
Throwable Exception { get; }
var Exception: Throwable { get{} }
Throwable Exception { __get; }
ReadOnly Property Exception() As Throwable
FromResult<T> (declared in Task)
class method FromResult<T>(x: T): Task1<T>
static Task1<T> FromResult<T>(T x)
static func FromResult<T>(_ x: T) -> Task1<T>
static Task1<T> FromResult<T>(T x)
Shared Function FromResult<T>(x As T) As Task1<T>
Parameters:
- x:
IsCompleted (declared in Task)
property IsCompleted: Boolean read;
Boolean IsCompleted { get; }
var IsCompleted: Boolean { get{} }
Boolean IsCompleted { __get; }
ReadOnly Property IsCompleted() As Boolean
IsFaulted (declared in Task)
property IsFaulted: Boolean read;
Boolean IsFaulted { get; }
var IsFaulted: Boolean { get{} }
Boolean IsFaulted { __get; }
ReadOnly Property IsFaulted() As Boolean
Result (declared in Task1<T>)
property Result: T read;
T Result { get; }
var Result: T { get{} }
T Result { __get; }
ReadOnly Property Result() As T
run
method run
void run()
func run()
void run()
Sub run()
Run (declared in Task)
class method Run(aIn: Runnable): Task
static Task Run(Runnable aIn)
static func Run(_ aIn: Runnable) -> Task
static Task Run(Runnable aIn)
Shared Function Run(aIn As Runnable) As Task
Parameters:
- aIn:
Run<T> (declared in Task)
class method Run<T>(aIn: Callable<T>): Task1<T>
static Task1<T> Run<T>(Callable<T> aIn)
static func Run<T>(_ aIn: Callable<T>) -> Task1<T>
static Task1<T> Run<T>(Callable<T> aIn)
Shared Function Run<T>(aIn As Callable<T>) As Task1<T>
Parameters:
- aIn:
Start (declared in Task)
method Start(aScheduler: Executor)
void Start(Executor aScheduler)
func Start(_ aScheduler: Executor)
void Start(Executor aScheduler)
Sub Start(aScheduler As Executor)
Parameters:
- aScheduler:
Threadpool (declared in Task)
class property Threadpool: ExecutorService read;
class ExecutorService Threadpool { get; }
static var Threadpool: ExecutorService { get{} }
class ExecutorService Threadpool { __get; }
Shared ReadOnly Property Threadpool() As ExecutorService
ThreadSyncHelper (declared in Task)
class property ThreadSyncHelper: IThreadSyncHelper read write;
class IThreadSyncHelper ThreadSyncHelper { get; set; }
static var ThreadSyncHelper: IThreadSyncHelper { get{} set{} }
class IThreadSyncHelper ThreadSyncHelper { __get; __set; }
Shared Property ThreadSyncHelper() As IThreadSyncHelper
Wait (declared in Task)
method Wait
void Wait()
func Wait()
void Wait()
Sub Wait()
Parameters:
- aTimeoutMSec:
AsyncState (declared in Task)
property AsyncState: Object read;
Object AsyncState { get; }
var AsyncState: Object { get{} }
Object AsyncState { __get; }
ReadOnly Property AsyncState() As Object
Exception (declared in Task)
property Exception: Throwable read;
Throwable Exception { get; }
var Exception: Throwable { get{} }
Throwable Exception { __get; }
ReadOnly Property Exception() As Throwable
IsCompleted (declared in Task)
property IsCompleted: Boolean read;
Boolean IsCompleted { get; }
var IsCompleted: Boolean { get{} }
Boolean IsCompleted { __get; }
ReadOnly Property IsCompleted() As Boolean
IsFaulted (declared in Task)
property IsFaulted: Boolean read;
Boolean IsFaulted { get; }
var IsFaulted: Boolean { get{} }
Boolean IsFaulted { __get; }
ReadOnly Property IsFaulted() As Boolean
Result (declared in Task1<T>)
property Result: T read;
T Result { get; }
var Result: T { get{} }
T Result { __get; }
ReadOnly Property Result() As T
CompletedTask (declared in Task)
class property CompletedTask: Task read;
class Task CompletedTask { get; }
static var CompletedTask: Task { get{} }
class Task CompletedTask { __get; }
Shared ReadOnly Property CompletedTask() As Task
Threadpool (declared in Task)
class property Threadpool: ExecutorService read;
class ExecutorService Threadpool { get; }
static var Threadpool: ExecutorService { get{} }
class ExecutorService Threadpool { __get; }
Shared ReadOnly Property Threadpool() As ExecutorService
ThreadSyncHelper (declared in Task)
class property ThreadSyncHelper: IThreadSyncHelper read write;
class IThreadSyncHelper ThreadSyncHelper { get; set; }
static var ThreadSyncHelper: IThreadSyncHelper { get{} set{} }
class IThreadSyncHelper ThreadSyncHelper { __get; __set; }
Shared Property ThreadSyncHelper() As IThreadSyncHelper
constructor <clinit> External (declared in Task)
class method constructor <clinit>(+)
static void constructor <clinit>(+ )
static func constructor <clinit>(_ +)
static void constructor <clinit>(+ )
Shared Sub constructor <clinit>( As +)
Parameters:
- :
FromResult<T> (declared in Task)
class method FromResult<T>(x: T): Task1<T>
static Task1<T> FromResult<T>(T x)
static func FromResult<T>(_ x: T) -> Task1<T>
static Task1<T> FromResult<T>(T x)
Shared Function FromResult<T>(x As T) As Task1<T>
Parameters:
- x:
Run (declared in Task)
class method Run(aIn: Runnable): Task
static Task Run(Runnable aIn)
static func Run(_ aIn: Runnable) -> Task
static Task Run(Runnable aIn)
Shared Function Run(aIn As Runnable) As Task
Parameters:
- aIn:
Run<T> (declared in Task)
class method Run<T>(aIn: Callable<T>): Task1<T>
static Task1<T> Run<T>(Callable<T> aIn)
static func Run<T>(_ aIn: Callable<T>) -> Task1<T>
static Task1<T> Run<T>(Callable<T> aIn)
Shared Function Run<T>(aIn As Callable<T>) As Task1<T>
Parameters:
- aIn:
constructor (Callable<T>, Object)
constructor(aIn: Callable<T>; aState: Object)
TaskCompletionSourceTask<T>(Callable<T> aIn, Object aState)
init(_ aIn: Callable<T>, _ aState: Object)
TaskCompletionSourceTask<T>(Callable<T> aIn, Object aState)
Sub New(aIn As Callable<T>, aState As Object)
Parameters:
- aIn:
- aState:
constructor(aIn: Runnable; aState: Object)
TaskCompletionSourceTask<T>(Runnable aIn, Object aState)
init(_ aIn: Runnable, _ aState: Object)
TaskCompletionSourceTask<T>(Runnable aIn, Object aState)
Sub New(aIn As Runnable, aState As Object)
Parameters:
- aIn:
- aState:
Await (declared in Task)
method Await(aCompletion: IAwaitCompletion): Boolean
Boolean Await(IAwaitCompletion aCompletion)
func Await(_ aCompletion: IAwaitCompletion) -> Boolean
Boolean Await(IAwaitCompletion aCompletion)
Function Await(aCompletion As IAwaitCompletion) As Boolean
Parameters:
- aCompletion:
Parameters:
- aAction:
- aState:
Parameters:
- aAction:
- aState:
ContinueWith<T> (declared in Task)
Parameters:
- aAction:
- aState:
ContinueWith<TR> (declared in Task1<T>)
Parameters:
- aAction:
- aState:
run
method run
void run()
func run()
void run()
Sub run()
Start (declared in Task)
method Start(aScheduler: Executor)
void Start(Executor aScheduler)
func Start(_ aScheduler: Executor)
void Start(Executor aScheduler)
Sub Start(aScheduler As Executor)
Parameters:
- aScheduler:
Wait (declared in Task)
method Wait
void Wait()
func Wait()
void Wait()
Sub Wait()
Parameters:
- aTimeoutMSec: