UNPKG

@grouparoo/core

Version:
12 lines (11 loc) 531 B
import { TeamMember } from "../models/TeamMember"; /** * We want this run "in-thread" but not to be blocking. We cannot rely on tasks, as the user may not be running them. * We also want to allow for this method to fail, and not block anything else in the server. * Therefore, we don't await the top-level CLS.afterCommit method */ export declare function GrouparooSubscription({ teamMember, email: subscriberEmail, subscribed, }: { teamMember?: TeamMember; email?: string; subscribed: boolean; }): Promise<void>;