Skip to main content

useSignal()

Home > @backstage/plugin-signals-react > useSignal

Signature:

useSignal: <TMessage extends JsonObject = JsonObject>(channel: string) => {
lastSignal: TMessage | null;
isSignalsAvailable: boolean;
}

Parameters

Parameter

Type

Description

channel

string

**Returns:**

{ lastSignal: TMessage | null; isSignalsAvailable: boolean; }