Pages

Wednesday, March 26, 2014

The Continuation class

The Continuation<Tv> class 

(HHVM >= 2.5)

Introduction 

Continuation objects are returned from generators.
Caution
Continuation objects cannot be instantiated via new.

Class synopsis 

Continuation<Tv> implements KeyedIterator<int, Tv> {
/* Methods */
public string getOrigFuncName ( void )
public void send ( mixed $v )
public void raise ( Exception $e )
public int getLabel ( void )
public void update ( int $label , Tv $value )
public int num_args ( void )
public mixed get_arg ( int $index )
/* Inherited methods */
abstract public mixed KeyedIterator<Tv>::key ( void )
}

Table of Contents 

  • Continuation<Tv>::getOrigFuncName — Coming soon
  • Continuation<Tv>::send — ????????
  • Continuation<Tv>::raise — Coming soon
  • Continuation<Tv>::getLabel — Coming soon
  • Continuation<Tv>::update — Coming soon
  • Continuation<Tv>::num_args — Coming soon
  • Continuation<Tv>::get_arg — Coming soon

No comments:

Post a Comment