What do you mean by "call the transform function asynchronously"? Do you think we need the `setImmediate` in the cases I pointed out?