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

[TypeDefs] Deno.core.heapStats() Function Does Not Exist #15284

Closed
zicklag opened this issue Jul 22, 2022 · 1 comment · Fixed by #15393
Closed

[TypeDefs] Deno.core.heapStats() Function Does Not Exist #15284

zicklag opened this issue Jul 22, 2022 · 1 comment · Fixed by #15393
Labels
bug Something isn't working correctly deno_core Changes in "deno_core" crate are needed good first issue Good for newcomers

Comments

@zicklag
Copy link
Contributor

zicklag commented Jul 22, 2022

/** Get heap stats for current isolate/worker */
function heapStats(): Record<string, number>;

I might be missing something, but it appears that the heapStats() function documented here doesn't exist. I've attempted to run the function in a script with deno_core, but it wasn't found. Also, I can't seem to find an implementation of the operation in the Deno source.

@zicklag zicklag changed the title Deno.core.heapStats() Function Does Not Exist [TypeDefs] Deno.core.heapStats() Function Does Not Exist Jul 22, 2022
@kitsonk kitsonk added bug Something isn't working correctly deno_core Changes in "deno_core" crate are needed good first issue Good for newcomers labels Aug 1, 2022
@kitsonk
Copy link
Contributor

kitsonk commented Aug 1, 2022

It was removed, but the type definitions not updated, but should be removed from the definitions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly deno_core Changes in "deno_core" crate are needed good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants