<% ctx.test = 1; %>

<%= JSON.stringify(ctx) %>

<%? setTimeout(function () { res.print("Async1"); res.finish(); }, 400) %>

<%? setTimeout(function () { res.print("Async2"); res.finish(); }, 100) %>

<% res.schedule(function (res) {setTimeout(function () { %>Async3<% res.finish(); }, 300)}); %>

<% res.partial("fixtures/partial.js.html", { hello: "world" }); %>
<%? setTimeout(function () { res.print("Async4"); res.partial("fixtures/partialStatic.js.html") .addCallback(function () { res.finish(); }) }, 200) %>