createSyncAccessHandle
inline suspend fun FileSystemFileHandle.createSyncAccessHandle(): FileSystemSyncAccessHandle(source)
The createSyncAccessHandle()
method of the FileSystemFileHandle interface returns a Promise which resolves to a FileSystemSyncAccessHandle object that can be used to synchronously read from and write to a file.