| Parameter | Description |
|---|---|
| fileName | The path to the file to close. |
| dependency | (Optional) A JobHandle to wait on before performing the close. |
JobHandle A JobHandle that completes when the asynchronous close operation finishes.
Closes a file held open internally by the AsyncReadManager.
The AsyncReadManager has an internal cache of up to 10 open files, so use this method if you experience a sharing violation when trying to access one of these files that is held open.
Notes: