ass="nf">getOnStartFn</span><span class="p">()</span>
      <span class="nx">it</span><span class="p">.</span><span class="nx">onTick</span> <span class="o">=</span> <span class="nf">getOnTickFn</span><span class="p">()</span>
      <span class="nx">it</span><span class="p">.</span><span class="nx">onStop</span> <span class="o">=</span> <span class="nf">getOnStopFn</span><span class="p">()</span>
    <span class="p">}</span>
  <span class="p">)</span>
  <span class="k">return</span> <span class="nx">effectF