art-developer/Timeline/finishSync.html">finishSync</a>.</p>
    </section>
    
    <section class="summary source-code" id="source">
      <h2><span>Implementation</span> </h2>
      <pre class="language-dart"><code class="language-dart">static dynamic timeSync(String name, TimelineSyncFunction function,
    {Map arguments, Flow flow}) {
  startSync(name, arguments: arguments, flow: flow);
  try {
    return function();
  } finally {
    finishSync();
  }
}</code></pre>
    </section>

  </div> <!-- /.main