Skip to main content
Module

x/grammy_conversations/utils.ts

Conversational interfaces for grammY
Go to Latest
import * as grammyConversations from "https://deno.land/x/grammy_conversations@v1.1.0/utils.ts";

Functions

Performs a structured clone, ignoring non-enumerable properties such as functions.

Identity function

Creates a new resolver

Interfaces

A resolver wraps a promise so that it can be resolved by an outside event. It is a container for this promise which you can await, and a function resolve which you can call. Once you call resolve, the contained promise will resolve.