Skip to content

AppiumTransport.collectGarbage method

AppiumTransport › collectGarbage

Runs a full garbage collection in Obsidian Mobile's WebView, through HeapProfiler.collectGarbage on the same debugger connection the trusted-input channel uses (AGENTS.md L39).

Signature:

collectGarbage(_cwd: string): Promise<void>

Parameters:

ParameterTypeDescription
_cwdstringUnused: the transport drives one WebView, whichever vault it shows.

Returns: Promise<void>