Optional ReadonlylabelWhat the audited span was, quoted in the message and used as the
deduplication key — "level teardown", "editor document close". Defaults to
"this span".
Deduplication is per label because a leak found in a loop is one mistake reported once, not once per iteration; give distinct spans distinct labels.
Optional ReadonlywarnSet false to compute the report without printing it — the audit becomes a
pure function, which is what a test that asserts on the message wants.
Defaults to true.
Options for auditResourceLeaks.