Skip to main content
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.4.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>