open<C extends Cell, L extends Cell, I extends Signal, O extends Signal> static method
OpenCell<Cell, Cell, Signal, Signal>
open<C extends Cell, L extends Cell, I extends Signal, O extends Signal>({
- Cell? bind,
- Receptor<
C, I, O> ? receptor, - TestObject<
Cell> test = TestObject.passed, - Synapses<
O, L> ? synapses,
Creates an open Cell that supports linking and receptor transformations.
Implementation
static OpenCell open<C extends Cell, L extends Cell, I extends Signal, O extends Signal>({
Cell? bind,
Receptor<C,I,O>? receptor,
TestObject test = TestObject.passed,
Synapses<O,L>? synapses,
}) {
return OpenCell<C,L,I,O>(
bind: bind,
receptor: receptor ?? Receptor<C,I,O>(),
synapses: synapses ?? Synapses.enabled
);
}