Meta SDK2 Beta  2.7.0
Meta.ThreadedJob Class Referenceabstract

Runs a function in a thread. More...

Inheritance diagram for Meta.ThreadedJob:
Meta.UnityThreadedJob

Public Member Functions

virtual void Start ()
 Creates and start a new thread. More...
 
virtual void Abort ()
 Abort the current thread. More...
 

Protected Member Functions

abstract void ThreadFunction ()
 The function that is going to run in the thread. More...
 

Properties

bool IsDone [get, set]
 Whether the thread function is done or not. More...
 

Detailed Description

Runs a function in a thread.

Member Function Documentation

◆ Abort()

virtual void Meta.ThreadedJob.Abort ( )
inlinevirtual

Abort the current thread.

◆ Start()

virtual void Meta.ThreadedJob.Start ( )
inlinevirtual

Creates and start a new thread.

◆ ThreadFunction()

abstract void Meta.ThreadedJob.ThreadFunction ( )
protectedpure virtual

The function that is going to run in the thread.

Implemented in Meta.UnityThreadedJob.

Property Documentation

◆ IsDone

bool Meta.ThreadedJob.IsDone
getsetprotected

Whether the thread function is done or not.