Find all events and setImmediate with backward compatibility