async pipeline example