Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requesting documentation on how to use device.openProcStat() #259

Open
gatlee21 opened this issue Mar 10, 2022 · 2 comments
Open

Requesting documentation on how to use device.openProcStat() #259

gatlee21 opened this issue Mar 10, 2022 · 2 comments

Comments

@gatlee21
Copy link

Hi, can we get an example code block on how to use device.openProcStat()? I'm struggling to use it correctly, so any sort of sample usage would be greatly helpful. Thanks.

@gatlee21
Copy link
Author

I think I was able to answer my own question with this:

const procstats = await device.openProcStat()
        procstats.on('load', function(stats) {
            console.log(stats)
})

@UrielCh
Copy link

UrielCh commented Mar 23, 2022

doc + typing improved in @u4/adbkit

will be released soon in V 3.1.3

see commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants