Sha256: 2ed9b7012c4162d3b83af22a331aa4fdb64e698f7e2dace4a7d394f2b73212d0
Contents?: true
Size: 735 Bytes
Versions: 263
Compression:
Stored size: 735 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
263 entries across 263 versions & 1 rubygems