method CompletionCache.subscribe
CompletionCache.subscribe(listener: () => void): void

Called whenever a late answer arrives, so what is on screen can be drawn again.

Parameters

listener: () => void

Return Type

void

Usage

import { type CompletionCache } from "lib/commands/repl/completion.ts";