How to use the dbus-next.systemBus function in dbus-next

To help you get started, we’ve selected a few dbus-next examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github vmarchaud / servicectl / src / backends / systemd / utils / bus.ts View on Github external
import * as dbus from 'dbus-next'

const systemBus = dbus.systemBus()

export const getSystemBus = () => systemBus