<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Function callbacks.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/43fd794757/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/43fd794757/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/43fd794757/</id><updated>2020-02-27T14:06:34.290000Z</updated><subtitle>Recent posts to Function callbacks.</subtitle><entry><title>Function callbacks.</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/43fd794757/?limit=25#9cbe" rel="alternate"/><published>2020-02-27T14:06:34.290000Z</published><updated>2020-02-27T14:06:34.290000Z</updated><author><name>kmpm</name><uri>https://forge.codesys.com/u/kmpm/</uri></author><id>https://forge.codesys.coma3b1ac4ccdbf8d9fe68b294caee9bf7f766e733f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is there a way to do function callbacks in V3.&lt;br/&gt;
What I wan't is to call a function when data arrives on TCP and are parsed and ready.&lt;/p&gt;
&lt;p&gt;It's sort of an event handler where I want to "subscribe" for different types of data and when they arrive I would like to call the provided function.&lt;/p&gt;
&lt;p&gt;The "subscription" could be initiated with something like this...&lt;br/&gt;
MyFancyFB.Subscribe(sFilter:='I Listen For', pFunc := ADR(MyReceivingFunction));&lt;/p&gt;
&lt;p&gt;I'v looked at CAA_Callback but that seems to be for just specific system events, but I might be wrong.&lt;/p&gt;
&lt;p&gt;Anyone have suggestions...&lt;br/&gt;
Is it at all possible?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>