Class: BeaconFactory ​
Defined in: packages/method/src/core/beacon/factory.ts:13
Beacon Factory pattern to create Beacon instances. BeaconFactory
Constructors ​
Constructor ​
new BeaconFactory():
BeaconFactory
Returns ​
BeaconFactory
Methods ​
establish() ​
staticestablish(service,signals,sidecar):AggregateBeacon
Defined in: packages/method/src/core/beacon/factory.ts:21
Establish a Beacon instance based on the provided service and optional sidecar data.
Parameters ​
service ​
The beacon service configuration.
signals ​
The array of beacon signals.
sidecar ​
The sidecar data associated with the beacon.
Returns ​
The established Beacon instance.