FB2AsyncLoadManager
Overview
- Manages asynchronous load tasks.
Metadata
| Field | Value |
|---|---|
| Kind | system |
| Environment | B2 - Simulation |
| Category | systems |
| Extends | FB2ManagerBase |
| Require | require('Systems.B2AsyncLoadManager') |
Properties (1)
| Name | Type | Description |
|---|---|---|
RequestAsyncMap | table<FB1AsyncLoadId, FB1RequestAsyncLoad> |
Functions (6)
| Function | Parameters | Returns | Description |
|---|---|---|---|
Clear | - | - | |
IsFinishAsyncLoad | InAsyncLoadId: FB1AsyncLoadId | boolean | Returns whether Finish Async Load. |
OnFinishAsyncLoad | InAsyncLoadId: FB1AsyncLoadId | - | Callback invoked on Finish Async Load. |
ProcessPendingRemovals | - | - | Performs follow-up processing when the removal queue is non-empty. |
RequestAsyncLoad | InRequest: FB1RequestAsyncLoad | FB1AsyncLoadId | Requests Async Load. |
StaticRequestAsyncLoad (static) | InRequest: FB1RequestAsyncLoad | FB1AsyncLoadId |
Override points (5)
Implement these in Lua as FB2AsyncLoadManager.Override_Name = function(...) end.
| Function | Parameters | Returns | Description |
|---|---|---|---|
Override_Clear | - | - | |
Override_OnFinishAsyncLoad | InAsyncLoadId: FB1AsyncLoadId | - | Callback invoked on Finish Async Load. |
Override_ProcessPendingRemovals | - | - | Performs follow-up processing when the removal queue is non-empty. |
Override_RequestAsyncLoad | InRequest: FB1RequestAsyncLoad | FB1AsyncLoadId | Requests Async Load. |
Override_StaticRequestAsyncLoad (static) | InRequest: FB1RequestAsyncLoad | FB1AsyncLoadId |