Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleAsymCoroutine.java
borderStylesolid
public abstract class AsymCoroutine<InT, OutT> implements Iterable<OutT>
{
  public AsymCoroutine();
  public AsymCoroutine(long stacksize);

  public InT ret(OutT value);
  public InT ret();
  public OutT call(InT input);
  public OutT call();

  protected abstract OutT run(InT value);

  @Override
  public Iterator<OutT> iterator();
}

*CoroutineLocal*s CoroutineLocals work like ThreadLocals with the exception that they are scoped to Coroutines.