export async function announce(sink, event) {
    if (!sink)
        return;
    try {
        await sink(event);
    }
    catch (err) {
        console.error("[rooms] notification sink threw; the room change still stands", err);
    }
}
