Obi  6.4
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.CoroutineJob Class Reference

Classes

class  ProgressInfo
 

Public Member Functions

IEnumerator Start (IEnumerator coroutine)
 
void Stop ()
 

Static Public Member Functions

static object RunSynchronously (IEnumerator coroutine)
 

Public Attributes

int asyncThreshold = 0
 

Properties

object Result [get]
 
bool IsDone [get]
 
bool RaisedException [get]
 

Detailed Description

Implementation of asynchronous jobs that can return data, throw exceptions, and have a duration threshold below which they are run synchronously.

Member Function Documentation

static object Obi.CoroutineJob.RunSynchronously ( IEnumerator  coroutine)
static

Runs the provided coroutine in a completely syncrhonous way, just like it would if it wasn't a coroutine, and returns a list of all coroutine results, in the order they were yielded. Will immediately rethrow any exceptions thrown by the coroutine.


The documentation for this class was generated from the following file: