Channel as callback parameter