pub fn process(
resources: &Resources,
options: Options,
) -> Result<WorkerTree, DarkluaError>
Expand description
Process resources according to the given options.
This function is the main entry point for processing resources. It creates a WorkerTree
,
collects work items based on the provided resources and options, and then processes them.