Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/aether/deps.ts>YAML.Composer#end

A Deno library to interface with the Discord API
Latest
method YAML.Composer.prototype.end
import { YAML } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { Composer } = YAML;

Call at end of input to yield any remaining document.

Parameters

optional
forceDoc: boolean
  • If the stream contains no document, still emit a final document including any comments and directives that would be applied to a subsequent document.
optional
endOffset: number
  • Should be set if forceDoc is also set, to set the document range end and to indicate errors correctly.

Returns

Generator<Document.Parsed<import("../nodes/Node.d.ts").ParsedNode>, void, unknown>