Skip to content
🤔 Documentation issue? Report it

//leakcanary-repo/leakcanary/RemoteWorkManagerHeapAnalyzer

RemoteWorkManagerHeapAnalyzer

[androidJvm]\ object RemoteWorkManagerHeapAnalyzer : EventListener

When receiving a HeapDump event, starts a WorkManager worker that performs heap analysis in a dedicated :leakcanary process

Functions

Name Summary
onEvent [androidJvm]
open override fun onEvent(event: EventListener.Event)
onEvent is always called from the thread the events are emitted from, which is documented for each event. This enables you to potentially block a chain of events, waiting for some pre work to be done.