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