Skip to main content

Module service

Module service 

Source

Structs§

SentInvite
A newly created invite: its row id, and the accept link that just went out by email. The link is returned rather than discarded so the commissioner can be shown it immediately — reading it back later is impossible.

Functions§

invite_link
Mint a fresh link for an outstanding invite, attempt to email it once, and show it so the commissioner can also send it by hand — a text message, say.
send_invite
Mint an invite token for email in league, persist it, and send the email. Awaited (not spawned): the commissioner gets synchronous confirmation, and the new invite is durable before the handler redirects to the list.