Skip to content

Instantly share code, notes, and snippets.

@sukria
Created October 14, 2011 11:05
Show Gist options
  • Save sukria/1286821 to your computer and use it in GitHub Desktop.
Save sukria/1286821 to your computer and use it in GitHub Desktop.
get '/' => sub {
stream => sub {
send 'foo'
sleep 0.5;
send 'bar';
sleep 0.5;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment