@diamondlightsource/davidia
    Preparing search index...

    Interface BatonProps

    Baton props

    interface BatonProps {
        batonUuid: string;
        hasBaton: boolean;
        offerBaton: (s: string) => void;
        others: string[];
        requestBaton: () => void;
        uuid: string;
    }
    Index

    Properties

    batonUuid: string

    The uuid of the current baton holder

    hasBaton: boolean

    If client holds baton

    offerBaton: (s: string) => void

    Handle passing baton to client with given uuid

    others: string[]

    The other uuids

    requestBaton: () => void

    Handles baton request

    uuid: string

    The universally unique identifier (uuid) of the client