Class Pure.PureDemo

java.lang.Object
kilim.Continuation
kilim.examples.Pure.PureDemo
All Implemented Interfaces:
Fiber.Worker
Enclosing class:
Pure

public static class Pure.PureDemo extends Continuation
  • Nested Class Summary

    Nested classes/interfaces inherited from class kilim.Continuation

    Continuation.FakeTask
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) int
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    the top level entrypoint for the continuation override this method cannot be called directly - use run() instead use Fiber.yield() to yield control cooperatively and return execution to the caller of run()

    Methods inherited from class kilim.Continuation

    ex, execute, reset, run

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • sum

      int sum
  • Constructor Details

    • PureDemo

      public PureDemo()
  • Method Details

    • execute

      public void execute() throws Pausable
      Description copied from class: Continuation
      the top level entrypoint for the continuation override this method cannot be called directly - use run() instead use Fiber.yield() to yield control cooperatively and return execution to the caller of run()
      Specified by:
      execute in interface Fiber.Worker
      Overrides:
      execute in class Continuation
      Throws:
      Pausable