writeAsync