Ejemplo n.º 1
0
 /// <summary>
 /// //Can be called from any handler to trigger the error chain.
 /// </summary>
 /// <param name="val"></param>
 public void Fail(JavaScript.Object val)
 {
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Registers a response handler.
 /// </summary>
 /// <param name="context">"this" context for the response method</param>
 /// <param name="handle">object function(sender, val) {}
 /// <para>sender is async object, if it return value other than null, the value is pass to next handler as val.</para>
 /// </param>
 /// <returns></returns>
 public Async Response(JavaScript.Object context, Func <Async, JavaScript.Object, JavaScript.Object> handle)
 {
     return(null);
 }