Class AsyncContext
Inheritance
System.Object
AsyncContext
Implements
System.IAsyncDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: AltV.Net.Async.dll
Syntax
public class AsyncContext : IAsyncContext, IAsyncDisposable
Methods
|
Improve this Doc
View Source
CheckIfExists(IBaseObject)
Declaration
public bool CheckIfExists(IBaseObject baseObject)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CheckIfExists(IEntity)
Declaration
public bool CheckIfExists(IEntity entity)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CheckIfExists(IWorldObject)
Declaration
public bool CheckIfExists(IWorldObject worldObject)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CheckIfExistsOrCached(IBaseObject)
Declaration
public bool CheckIfExistsOrCached(IBaseObject baseObject)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CheckIfExistsOrCached(IEntity)
Declaration
public bool CheckIfExistsOrCached(IEntity entity)
Parameters
Type |
Name |
Description |
IEntity |
entity |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CheckIfExistsOrCached(IWorldObject)
Declaration
public bool CheckIfExistsOrCached(IWorldObject worldObject)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Create(Boolean, Boolean)
Declaration
public static IAsyncContext Create(bool throwOnExistsCheck = true, bool createRefAutomatically = true)
Parameters
Type |
Name |
Description |
System.Boolean |
throwOnExistsCheck |
|
System.Boolean |
createRefAutomatically |
|
Returns
|
Improve this Doc
View Source
DisposeAsync()
Declaration
public ValueTask DisposeAsync()
Returns
Type |
Description |
System.Threading.Tasks.ValueTask |
|
|
Improve this Doc
View Source
Enqueue(Action)
Declaration
public void Enqueue(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
|
Improve this Doc
View Source
RunAll()
Declaration
|
Improve this Doc
View Source
RunAll(Boolean)
Declaration
public void RunAll(bool dispose)
Parameters
Type |
Name |
Description |
System.Boolean |
dispose |
|
|
Improve this Doc
View Source
RunOnMainThreadBlocking(Action)
Declaration
public void RunOnMainThreadBlocking(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
|
Improve this Doc
View Source
RunOnMainThreadBlockingAndRunAll(Action)
Declaration
public void RunOnMainThreadBlockingAndRunAll(Action action)
Parameters
Type |
Name |
Description |
System.Action |
action |
|
Implements
System.IAsyncDisposable
Extension Methods