<!DOCTYPE html>
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I'm currently working on a script that utilizes PubSub, but I'm
      running into an issue where the background function doesn't seem
      to display any output in the shell. I'm following the example from
      the website:</p>
    <pre class="!overflow-visible"><div
class="dark bg-gray-950 contain-inline-size rounded-md border-[0.5px] border-token-border-medium relative">
<div class="overflow-y-auto p-4" dir="ltr"><code
    class="!whitespace-pre hljs language-javascript"><span
    class="hljs-keyword">var</span> myTicker = <span
    class="hljs-keyword">function</span>(<span class="hljs-params">msg, data</span>) { 
    <span class="hljs-title function_">print</span>(<span
    class="hljs-string">"Event: "</span> + msg + <span
    class="hljs-string">"\n"</span>); 
};

<span class="hljs-title class_">PubSub</span>.<span
    class="hljs-title function_">subscribe</span>(<span
    class="hljs-string">"ticker.10"</span>, myTicker);
</code></div></div></pre>
    <p>For some reason, I can't get the <code>myTicker</code> function
      to output anything when triggered. It seems like the print
      statements aren't being executed as expected.</p>
    <p>Has anyone encountered this before, or does anyone have
      suggestions on what might be causing this issue?</p>
    <p>Thanks in advance!</p>
    <p></p>
  </body>
</html>