setPreload

fun setPreload(preload: (String, IOContext) -> Boolean)

Configure which files to preload in physical memory upon opening. The default implementation does not preload anything. The behavior is best effort and operating system-dependent.

Parameters

preload

a BiPredicate whose first argument is the file name, and second argument is the IOContext used to open the file

See also

.NO_FILES