Module

x/cliffy/keypress/mod.ts>Keypress#dispose

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Latest
method Keypress.prototype.dispose
import { Keypress } from "https://dotland.deno.dev/x/cliffy@v1.0.0-rc.4/keypress/mod.ts";

Dispose event loop.

Parameters

optional
error: Error

If an error is passed, the event loop will throw an error.