BetaReadonly BetaacceptsDoes this object accept any type or category?
Readonly BetaisIs this object a conduit?
Readonly BetaonlyDoes this object only accept connections from conduits?
Beta
The accepted category IDs. This is an empty array if IoCapabilities.acceptsAny is true.
Beta
The accepted type IDs. This is an empty array if IoCapabilities.acceptsAny is true.
Beta
Check if this object accepts any storage type of the given category, implicitly or explicitly.
The category to check.
Is the source a conduit?
Whether this object accepts any storage type of the given category.
This returns true if any of the following conditions are true:
Throws a PublicError of type PublicErrorType.InvalidState if this package has not been initialized (see init).
Beta
Check if this object accepts the given category, implicitly or explicitly.
The category to check.
Is the source a conduit?
Whether this object accepts the given category.
This returns true if any of the following conditions are true:
Beta
Check if this object accepts the given storage type data, implicitly or explicitly. Use IoCapabilities.acceptsTypeId to check by ID.
The storage type data to check.
Is the source a conduit?
Whether this object accepts the given storage type.
This returns true if any of the following conditions are true:
Beta
Get a storage type by it's ID and check if this object accepts it, implicitly or explicitly.
The ID of the storage type.
Is the source a conduit?
Whether this object accepts the storage type with the given ID.
This returns true if any of the following conditions are true:
Throws a PublicError of type PublicErrorType.InvalidState if this package has not been initialized (see init).
Beta
Check if this object accepts the given storage type explicitly or accepts any.
The ID of the storage type.
Is the source a conduit?
Whether this object accepts the storage type with the given ID.
This returns true if any of the following conditions are true:
Beta
Check if this object can connect to another IoCapabilities object.
The other IoCapabilities object.
Whether the two objects can connect or not.
Throws a PublicError of type PublicErrorType.InvalidState if this package has not been initialized (see init).
StaticacceptingBeta
Create a new IoCapabilities object that accepts the given types and categories.
Accepted type IDs.
Accepted categories.
Optionaloptions: NewIoCapabilitiesOptions
Additional options.
Returns a new IoCapabilities object.
StaticacceptingBeta
Create a new IoCapabilities object that accepts any type or category.
Optionaloptions: NewIoCapabilitiesOptions
Additional options.
Returns a new IoCapabilities object.
StaticfromBeta
Get the input/output capabilities of a block.
The block.
The side of the machine to check or "network_link" for linked connections.
A new IoCapabilities object.
Represents the input/output capabilities of a machine side or item machine.