broadcast | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function broadcast

    • Broadcast an event to all WebHare processes (the bridge connection may linger a while to ensure the event is sent)

      Type Parameters

      Parameters

      Returns void

    • Broadcast an event to all WebHare processes (the bridge connection may linger a while to ensure the event is sent)

      Type Parameters

      Parameters

      Returns void

    • Broadcast an event to all WebHare processes (the bridge connection may linger a while to ensure the event is sent)

      Type Parameters

      • EventName extends string

      Parameters

      • event: EventName & (
            EventName extends keyof BackendEvents
                ? "Event requires parameter"
                : string
        )

        Name of the event

      • Optionaldata: SimpleMarshallableRecord

        Event data

      Returns void

    • Broadcast an event to all WebHare processes (the bridge connection may linger a while to ensure the event is sent)

      Type Parameters

      • EventName extends string

      Parameters

      Returns void