UK2Node example code?

Where can one get some sample code for a UK2Node in blueprints.

I want to make a node that runs a background task and returns success or fail when the task does a callback.