Sha256: 1f8469097c0821532e383766ac7599cad1bc9aeff2dc9d806ad68834a40b4c70
Contents?: true
Size: 855 Bytes
Versions: 63
Compression:
Stored size: 855 Bytes
Contents
class Reactor<Element>() given Element satisfies Object { shared abstract class Cell() { shared formal Element currentValue; } shared class InputCell(Element initialValue) extends Cell() { shared actual variable Element currentValue = nothing; } shared class ComputeCell extends Cell { shared new single(Cell c, Element(Element) f) extends Cell() { } shared new double(Cell c1, Cell c2, Element(Element, Element) f) extends Cell() { } shared alias Callback => Anything(Element); shared actual Element currentValue = nothing; shared interface Subscription { shared formal void cancel(); } shared Subscription addCallback(Callback f) { return nothing; } } }
Version data entries
63 entries across 63 versions & 1 rubygems