NonThreadedTask1<T>

Overview

Location

 

constructor (Callable<T>, Object)

 

constructor(aIn: Callable<T>; aState: Object)

 

NonThreadedTask1<T>(Callable<T> aIn, Object aState)

 

init(_ aIn: Callable<T>, _ aState: Object)

 

NonThreadedTask1<T>(Callable<T> aIn, Object aState)

Parameters:

  • aIn:
  • aState:

constructor (Runnable, Object)    (declared in Task)

 

constructor(aIn: Runnable; aState: Object)

 

NonThreadedTask1<T>(Runnable aIn, Object aState)

 

init(_ aIn: Runnable, _ aState: Object)

 

NonThreadedTask1<T>(Runnable aIn, Object aState)

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>()

AsyncState    (declared in Task)

 

property AsyncState: Object read;

 

Object AsyncState { get; }

 

var AsyncState: Object { get{} }

 

Object AsyncState { __get; }

Await    (declared in Task)

 

method Await(aCompletion: IAwaitCompletion): Boolean

 

Boolean Await(IAwaitCompletion aCompletion)

 

func Await(_ aCompletion: IAwaitCompletion) -> Boolean

 

Boolean Await(IAwaitCompletion aCompletion)

Parameters:

  • aCompletion:

ContinueWith (Action1<Task>, Object): Task    (declared in Task)

 

method ContinueWith(aAction: Action1<Task>; aState: Object): Task

 

Task ContinueWith(Action1<Task> aAction, Object aState)

 

func ContinueWith(_ aAction: Action1<Task>, _ aState: Object) -> Task

 

Task ContinueWith(Action1<Task> aAction, Object aState)

Parameters:

  • aAction:
  • aState:

ContinueWith (Action1<Task1<T>>, Object): Task    (declared in Task1<T>)

 

method ContinueWith(aAction: Action1<Task1<T>>; aState: Object): Task

 

Task ContinueWith(Action1<Task1<T>> aAction, Object aState)

 

func ContinueWith(_ aAction: Action1<Task1<T>>, _ aState: Object) -> Task

 

Task ContinueWith(Action1<Task1<T>> aAction, Object aState)

Parameters:

  • aAction:
  • aState:

ContinueWith<T>    (declared in Task)

 

method ContinueWith<T>(aAction: Func2<Task, T>; aState: Object): Task1<T>

 

Task1<T> ContinueWith<T>(Func2<Task, T> aAction, Object aState)

 

func ContinueWith<T>(_ aAction: Func2<Task, T>, _ aState: Object) -> Task1<T>

 

Task1<T> ContinueWith<T>(Func2<Task, T> aAction, Object aState)

Parameters:

  • aAction:
  • aState:

ContinueWith<TR>    (declared in Task1<T>)

 

method ContinueWith<TR>(aAction: Func2<Task1<T>, TR>; aState: Object): Task1<TR>

 

Task1<TR> ContinueWith<TR>(Func2<Task1<T>, TR> aAction, Object aState)

 

func ContinueWith<TR>(_ aAction: Func2<Task1<T>, TR>, _ aState: Object) -> Task1<TR>

 

Task1<TR> ContinueWith<TR>(Func2<Task1<T>, TR> aAction, Object aState)

Parameters:

  • aAction:
  • aState:

Exception    (declared in Task)

 

property Exception: Throwable read;

 

Throwable Exception { get; }

 

var Exception: Throwable { get{} }

 

Throwable Exception { __get; }

IsCompleted    (declared in Task)

 

property IsCompleted: Boolean read;

 

Boolean IsCompleted { get; }

 

var IsCompleted: Boolean { get{} }

 

Boolean IsCompleted { __get; }

IsFaulted    (declared in Task)

 

property IsFaulted: Boolean read;

 

Boolean IsFaulted { get; }

 

var IsFaulted: Boolean { get{} }

 

Boolean IsFaulted { __get; }

Result    (declared in Task1<T>)

 

property Result: T read;

 

T Result { get; }

 

var Result: T { get{} }

 

T Result { __get; }

run    (declared in Task1<T>)

 

method run

 

void run()

 

func run()

 

void 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)

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)

Parameters:

  • aIn:

Start    (declared in Task)

 

method Start(aScheduler: Executor)

 

void Start(Executor aScheduler)

 

func Start(_ aScheduler: Executor)

 

void Start(Executor aScheduler)

Parameters:

  • aScheduler:

Threadpool    (declared in Task)

 

class property Threadpool: ExecutorService read;

 

class ExecutorService Threadpool { get; }

 

static var Threadpool: ExecutorService { get{} }

 

class ExecutorService Threadpool { __get; }

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; }

Wait    (declared in Task)

 

method Wait

 

void Wait()

 

func Wait()

 

void Wait()

Wait (Integer): Boolean    (declared in Task)

 

method Wait(aTimeoutMSec: Integer): Boolean

 

Boolean Wait(Integer aTimeoutMSec)

 

func Wait(_ aTimeoutMSec: Integer) -> Boolean

 

Boolean Wait(Integer aTimeoutMSec)

Parameters:

  • aTimeoutMSec:

 

AsyncState    (declared in Task)

 

property AsyncState: Object read;

 

Object AsyncState { get; }

 

var AsyncState: Object { get{} }

 

Object AsyncState { __get; }

Exception    (declared in Task)

 

property Exception: Throwable read;

 

Throwable Exception { get; }

 

var Exception: Throwable { get{} }

 

Throwable Exception { __get; }

IsCompleted    (declared in Task)

 

property IsCompleted: Boolean read;

 

Boolean IsCompleted { get; }

 

var IsCompleted: Boolean { get{} }

 

Boolean IsCompleted { __get; }

IsFaulted    (declared in Task)

 

property IsFaulted: Boolean read;

 

Boolean IsFaulted { get; }

 

var IsFaulted: Boolean { get{} }

 

Boolean IsFaulted { __get; }

Result    (declared in Task1<T>)

 

property Result: T read;

 

T Result { get; }

 

var Result: T { get{} }

 

T Result { __get; }

Threadpool    (declared in Task)

 

class property Threadpool: ExecutorService read;

 

class ExecutorService Threadpool { get; }

 

static var Threadpool: ExecutorService { get{} }

 

class ExecutorService Threadpool { __get; }

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; }

 

constructor <clinit>  External    (declared in Task)

 

class method constructor <clinit>

 

static void constructor <clinit>()

 

static func constructor <clinit>()

 

static void constructor <clinit>()

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)

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)

Parameters:

  • aIn:

 

constructor (Callable<T>, Object)

 

constructor(aIn: Callable<T>; aState: Object)

 

NonThreadedTask1<T>(Callable<T> aIn, Object aState)

 

init(_ aIn: Callable<T>, _ aState: Object)

 

NonThreadedTask1<T>(Callable<T> aIn, Object aState)

Parameters:

  • aIn:
  • aState:

constructor (Runnable, Object)    (declared in Task)

 

constructor(aIn: Runnable; aState: Object)

 

NonThreadedTask1<T>(Runnable aIn, Object aState)

 

init(_ aIn: Runnable, _ aState: Object)

 

NonThreadedTask1<T>(Runnable aIn, Object aState)

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)

Parameters:

  • aCompletion:

ContinueWith (Action1<Task>, Object): Task    (declared in Task)

 

method ContinueWith(aAction: Action1<Task>; aState: Object): Task

 

Task ContinueWith(Action1<Task> aAction, Object aState)

 

func ContinueWith(_ aAction: Action1<Task>, _ aState: Object) -> Task

 

Task ContinueWith(Action1<Task> aAction, Object aState)

Parameters:

  • aAction:
  • aState:

ContinueWith (Action1<Task1<T>>, Object): Task    (declared in Task1<T>)

 

method ContinueWith(aAction: Action1<Task1<T>>; aState: Object): Task

 

Task ContinueWith(Action1<Task1<T>> aAction, Object aState)

 

func ContinueWith(_ aAction: Action1<Task1<T>>, _ aState: Object) -> Task

 

Task ContinueWith(Action1<Task1<T>> aAction, Object aState)

Parameters:

  • aAction:
  • aState:

ContinueWith<T>    (declared in Task)

 

method ContinueWith<T>(aAction: Func2<Task, T>; aState: Object): Task1<T>

 

Task1<T> ContinueWith<T>(Func2<Task, T> aAction, Object aState)

 

func ContinueWith<T>(_ aAction: Func2<Task, T>, _ aState: Object) -> Task1<T>

 

Task1<T> ContinueWith<T>(Func2<Task, T> aAction, Object aState)

Parameters:

  • aAction:
  • aState:

ContinueWith<TR>    (declared in Task1<T>)

 

method ContinueWith<TR>(aAction: Func2<Task1<T>, TR>; aState: Object): Task1<TR>

 

Task1<TR> ContinueWith<TR>(Func2<Task1<T>, TR> aAction, Object aState)

 

func ContinueWith<TR>(_ aAction: Func2<Task1<T>, TR>, _ aState: Object) -> Task1<TR>

 

Task1<TR> ContinueWith<TR>(Func2<Task1<T>, TR> aAction, Object aState)

Parameters:

  • aAction:
  • aState:

run    (declared in Task1<T>)

 

method run

 

void run()

 

func run()

 

void run()

Start    (declared in Task)

 

method Start(aScheduler: Executor)

 

void Start(Executor aScheduler)

 

func Start(_ aScheduler: Executor)

 

void Start(Executor aScheduler)

Parameters:

  • aScheduler:

Wait    (declared in Task)

 

method Wait

 

void Wait()

 

func Wait()

 

void Wait()

Wait (Integer): Boolean    (declared in Task)

 

method Wait(aTimeoutMSec: Integer): Boolean

 

Boolean Wait(Integer aTimeoutMSec)

 

func Wait(_ aTimeoutMSec: Integer) -> Boolean

 

Boolean Wait(Integer aTimeoutMSec)

Parameters:

  • aTimeoutMSec: