Package kilim.examples
Class Pure.PureMega
java.lang.Object
kilim.Continuation
kilim.examples.Pure.PureMega
- All Implemented Interfaces:
Fiber.Worker
- Enclosing class:
Pure
-
Nested Class Summary
Nested classes/interfaces inherited from class kilim.Continuation
Continuation.FakeTask -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()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
-
Field Details
-
sum
int sum
-
-
Constructor Details
-
PureMega
public PureMega()
-
-
Method Details
-
execute
Description copied from class:Continuationthe 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:
executein interfaceFiber.Worker- Overrides:
executein classContinuation- Throws:
Pausable
-