Fix async emit and emit sliced array.