<!DOCTYPE html>

<html>
  <head>
    <title>Demo - Buffer</title>
  </head>

  <body>

    <h1>Buffer Demo</h1>

    <p>Use the <strong>StreamExt.buffer</strong> function to group input elements produced in 3 second windows.</p>

    Input : <button id="btn_1">Event</button> <button id="btn_err_1">Error</button> <button id="btn_done_1">Done</button>
    <br/>

    Output : <ol id="output"></ol>

    <script type="application/dart" src="buffer_example.dart"></script>
    <script src="packages/browser/dart.js