The KSSCHEDULE function creates a new punctuation by specifying a macro which will be executed periodically.

This function can only be called within a processor, during the execution of the init, process or close macro.

The punctuation is defined by a map with the following keys:

nameName of the punctuation. Must be unique within a processor.
macroMacro that will execute periodically. The macro will be called with the timestamp as argument. If macro is null, KSSCHEDULE will remove the punctuation currently named name.
streamtimeBoolean indicating whether the punctuation should be based on wall clock time (when false, the default), or stream time.