See <ComponentProps>
A portion of the configuration object to pass to the LogicBoolReceiverComponent
constructor.
type LogicBoolReceiverComponentPropsV1 = {
sender?: number | undefined;
};
type LogicBoolReceiverComponentProps = LogicBoolReceiverComponentPropsV1;
sender
(optional, default0
)<number>
Creates a versioned LogicBoolReceiver
component.
props
<ComponentProps & LogicBoolReceiverComponentProps>
Configuration of the component to create.- Returns:
<LogicBoolReceiverComponent>
import { LogicBoolReceiverComponent } from 'att-string-transcoder';
const componentVersion = 1;
const component = new LogicBoolReceiverComponent({ version: componentVersion });
See Component.fromBinary(reader, version)
Note that the following properties are sorted in order of appearance when decoding component binary data.
See Component.hash
See Component.name
The identifier of the LogicBoolSender
that is connected to this LogicBoolReceiver
.
- Since:
v1
<number>
import { LogicBoolReceiverComponent } from 'att-string-transcoder';
const componentVersion = 1;
const component = new LogicBoolReceiverComponent({ version: componentVersion });
const sender = component.sender;
// `sender` is `0`
See Component.toBinary(version?)