Added interface for one shot and event based tasklets