Class PlatformWork
CPU field preparation: managed workers on native players, serial execution on single-threaded Web.
public static class PlatformWork
- Inheritance
-
PlatformWork
- Inherited Members
Fields
Inline
public const bool Inline = false
Field Value
Methods
For(int, int, Action<int>, bool)
public static void For(int fromInclusive, int toExclusive, Action<int> body, bool forceInline = false)
Parameters
Run(Action, bool)
public static Task Run(Action work, bool forceInline = false)
Parameters
Returns
Run<T>(Func<T>, bool)
public static Task<T> Run<T>(Func<T> work, bool forceInline = false)
Parameters
Returns
- Task<T>
Type Parameters
T