Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function compat.migrations.noRepeatGuard
import { compat } from "https://deno.land/x/embassyd_sdk@v0.3.4-alpha1/mod.ts";
const { noRepeatGuard } = compat.migrations;

Type Parameters

version extends string
type extends "up" | "down"

Parameters

effects: T.Effects
noRepeat: NoRepeat<version, type> | undefined
fn: () => Promise<void>

Returns

Promise<void>