Type Alias GraffitiLogoutEvent

GraffitiLogoutEvent: CustomEvent<
    { error: Error; actor?: string }
    | { error?: undefined; actor: string },
>

The event type produced in Graffiti.sessionEvents when a user logs out either manually with Graffiti.logout or when their session times out or otherwise becomes invalid. The event name to listen for is logout.