public void GetTorrentsAsync(Action<IEnumerable<Torrent>> callback) { Task.Factory.StartNew (() => GetTorrents ()).ContinueWith (task => callback (task.Result)); }