function stepOutOfThisFrame
stepOutOfThisFrame(
argument: string
): Promise<void>

.finish — run until this frame returns, and stop in whoever called it.

import { stepOutOfThisFrame } from './frames.ts';

import type { ReplContext } from './command.ts';

// Defined, not invoked: it drives a stopped page.
function example(repl: ReplContext) {
  return stepOutOfThisFrame(repl, ''); // out of one frame
}

Parameters

argument: string

Return Type

Promise<void>

Usage

import { stepOutOfThisFrame } from "lib/commands/repl/frames.ts";