SDS2 Parametric API
 All Classes Namespaces Functions Variables Pages
Classes | Functions
dialog.queueable Namespace Reference

Classes

class  queueable
 This decorator is to mark a function as able to be added to the idle queue, done later and done only once! def foo( ... More...

Functions

def queue

Function Documentation

def dialog.queueable.queue (   args)
 This decorator is to mark a function as able to be added to the
 idle queue, done later and done only once!
 @queue
 def foo( self, ... )
 
 #later on:
 self.foo( dialog, ... )
 
 dialog is the dialog to add it to the idle queue of
 id is the identifier of this instance.  Look at the module
    "id" if you would like an easy way to give object instances an id.
 
 
 Remember:  This takes the LAST set of arguments you used
 NOTE: this is specific to classes.  You could easily modify
 this to work with non classes, but I'm not sure how you could support both...