Table of Contents

Class ThreadJobItem

public abstract class ThreadJobItem
Inheritance
ThreadJobItem
Derived
Inherited Members

Properties

CreatedAt

public DateTime CreatedAt { get; }

Property Value

DateTime

IsAsync

public abstract bool IsAsync { get; }

Property Value

bool

IsStreaming

public abstract bool IsStreaming { get; }

Property Value

bool

JobId

public string JobId { get; }

Property Value

string

OnComplete

public abstract UnityAction OnComplete { get; }

Property Value

UnityAction

OnError

public UnityAction<Exception> OnError { get; set; }

Property Value

UnityAction<Exception>

OnProgress

public abstract UnityAction<object> OnProgress { get; }

Property Value

UnityAction<object>

OnResult

public abstract UnityAction<object> OnResult { get; }

Property Value

UnityAction<object>

Methods

Execute()

public abstract object Execute()

Returns

object

ExecuteAsync()

public abstract Task<object> ExecuteAsync()

Returns

Task<object>

ExecuteStreaming(Action<object>, Action)

public abstract void ExecuteStreaming(Action<object> onProgress, Action onComplete)

Parameters

onProgress Action<object>
onComplete Action

ExecuteStreamingAsync(Action<object>, Action)

public abstract Task ExecuteStreamingAsync(Action<object> onProgress, Action onComplete)

Parameters

onProgress Action<object>
onComplete Action

Returns

Task