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

Version Path
trackler-2.2.1.180 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.179 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.178 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.177 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.176 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.175 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.174 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.173 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.172 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.171 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.170 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.169 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.167 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.166 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.165 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.164 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.163 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.162 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.161 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.160 tracks/ceylon/exercises/react/source/react/Reactor.ceylon