passing value from iOS native code to cordova
===

I have some values generated from my native code that I would like to pass to phonegap. These data are generated in real time and are not directly influenced by the user's actions through the phonegap gui.My native code is part of a plugin that I made.

What is the best way to approach this? I want to have a function to send data over anytime and have a listener on the cordova side.  I'm using Cordova 1.5 with Xcode 4.3.