Interface IAsyncConvertible<TBaseObject>
Assembly: AltV.Net.Async.dll
Syntax
public interface IAsyncConvertible<TBaseObject> : IBaseObject, ISharedBaseObject where TBaseObject : class, IBaseObject
Type Parameters
Name |
Description |
TBaseObject |
|
Methods
|
Improve this Doc
View Source
ToAsync()
Declaration
[Obsolete("Use new async API instead")]
virtual TBaseObject ToAsync()
Returns
Type |
Description |
TBaseObject |
|
|
Improve this Doc
View Source
ToAsync(IAsyncContext)
Declaration
[Obsolete("Use new async API instead")]
TBaseObject ToAsync(IAsyncContext asyncContext)
Parameters
Returns
Type |
Description |
TBaseObject |
|
|
Improve this Doc
View Source
TryToAsync(IAsyncContext, out TBaseObject)
Declaration
[Obsolete("Use new async API instead")]
virtual bool TryToAsync(IAsyncContext asyncContext, out TBaseObject player)
Parameters
Type |
Name |
Description |
IAsyncContext |
asyncContext |
|
TBaseObject |
player |
|
Returns
Type |
Description |
System.Boolean |
|