Rxova
Skip to content

attemptAll

function attemptAll(
existing,
candidates,
rules?): object;

Accept several files in order, each checked against the list as it grows.

Order matters: dropping the same file twice with dedupe on must accept the first and refuse the second, which only works if each candidate sees the accumulated result rather than the original list.

ParameterType
existingFile[]
candidatesFile[]
rulesFileRules

object

files: File[];
results: FileAttempt[];