snapshot

fun snapshot(context: Context, receive: (AgentStatus) -> Unit)

Read one sanitized snapshot on a worker, delivered on the main thread. Usage: Kylok.snapshot(context) { status -> render(status) }.