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

Version Path
trackler-2.2.1.116 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.115 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.114 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.113 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.111 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.110 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.109 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.108 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.107 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.106 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.105 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.104 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.103 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.102 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.101 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.100 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.99 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.98 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.97 tracks/ceylon/exercises/react/source/react/Reactor.ceylon
trackler-2.2.1.96 tracks/ceylon/exercises/react/source/react/Reactor.ceylon