Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/vim/mod.ts>test_garbagecollect_now

๐Ÿ“š Standard module for denops.vim
Go to Latest
function test_garbagecollect_now
import { test_garbagecollect_now } from "https://deno.land/x/denops_std@v6.3.0/function/vim/mod.ts";

Like garbagecollect(), but executed right away. This must only be called directly to avoid any structure to exist internally, and v:testing must have been set before calling any function. This will not work when called from a :def function, because variables on the stack will be freed.

Returns

Promise<void>