See <ComponentProps>
A portion of the configuration object to pass to the LogicIntReceiverComponent
constructor.
type LogicIntReceiverComponentPropsV1 = {
sender?: number | undefined;
};
type LogicIntReceiverComponentProps = LogicIntReceiverComponentPropsV1;
sender
(optional, default0
)<number>
Creates a versioned LogicIntReceiver
component.
props
<ComponentProps & LogicIntReceiverComponentProps>
Configuration of the component to create.- Returns:
<LogicIntReceiverComponent>
import { LogicIntReceiverComponent } from 'att-string-transcoder';
const componentVersion = 1;
const component = new LogicIntReceiverComponent({ 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 LogicIntSender
that is connected to this LogicIntReceiver
.
- Since:
v1
<number>
import { LogicIntReceiverComponent } from 'att-string-transcoder';
const componentVersion = 1;
const component = new LogicIntReceiverComponent({ version: componentVersion });
const sender = component.sender;
// `sender` is `0`
See Component.toBinary(version?)