CloudTwin  ROS2 Humble
Digital twin for path and trajectory optimisation
Functions | Variables
use-order-notifications.ts File Reference

Functions

function roomLabel (room:RoomPayload)
 

Variables

 import { toast } from 'sonner'
 
type RoomPayload = { name?: string } | string | null | undefined
 
import type { Order } from '@/types'
 

Function Documentation

◆ roomLabel()

function roomLabel (   room:RoomPayload)

Subscribe to real-time order updates and show toast notifications.

Variable Documentation

◆ import

import { toast } from 'sonner'

◆ RoomPayload

type RoomPayload = { name?: string } | string | null | undefined

◆ type

import type { Order } from '@/types'