Package kilim.examples
Class Post
- java.lang.Object
-
- kilim.Continuation
-
- kilim.Generator<java.lang.String>
-
- kilim.examples.Post
-
- All Implemented Interfaces:
java.lang.Iterable<java.lang.String>,java.util.Iterator<java.lang.String>,Fiber.Worker
class Post extends Generator<java.lang.String>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class kilim.Continuation
Continuation.FakeTask
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()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()(package private) voidwalk(Tree t)-
Methods inherited from class kilim.Continuation
ex, execute, reset, run
-
-
-
-
Field Detail
-
_t
Tree _t
-
-
Constructor Detail
-
Post
Post(Tree t)
-
-
Method Detail
-
execute
public void execute() throws PausableDescription 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
-
-