ENGLISH·COURSE API
    Preparing search index...

    Module

    hooks/use-pending-prize-announcement/use-pending-prize-announcement

    Functions

    refreshPendingPrizeAnnouncement

    Re-reads storage and notifies every subscriber.

    pendingPrizeServerSnapshot

    The snapshot the server renders with: nothing pending.

    usePendingPrizeAnnouncement

    The module whose prize is waiting to be announced, if any.

    announcePrize

    Records that a module's prize is waiting to be announced.

    holdPrizeAnnouncement

    Claims the announcement for the surface that won the prize.

    useIsPrizeAnnouncementHeld

    Whether some surface is making the announcement itself right now.

    clearPendingPrize

    Drops the pending announcement, once it has been made or has become moot.