{"id":1728489,"user_name":null,"score":0,"text":"@somekind: dzi\u0119ki za przyk\u0142ad\nJe\u015bli dobrze zrozumia\u0142em to chodzi o opcje por\u00f3wnania?\nczy og\u00f3lnie o API\n\n\n@some_ONE dzi\u0119ki za odpowied\u017a, ale czy mo\u017cesz ja\u015bniej, nawet jak krowie na rowie\nja nie jestem super bieg\u0142y w concurency w .net, mog\u0119 patrze\u0107 a nie widzie\u0107, pr\u00f3bowa\u0142em szuka\u0107 na w\u0142asn\u0105 r\u0119k\u0119\n\ni to co znalaz\u0142em\nhttps:\/\/blog.stephencleary.com\/2013\/10\/taskrun-etiquette-and-proper-usage.html\n> First, let\u2019s think of what Task.Run is really for (you wouldn\u2019t want to use a fork to eat soup!). The purpose of Task.Run is to execute CPU-bound code in an asynchronous way. Task.Run does this by executing the method on a thread pool thread and returning a Task representing the completion of that method.\n\nhttps:\/\/app.pluralsight.com\/guides\/using-task-run-async-await\n>  The short explanation is that launching an operation on a separate thread via Task.Run is mainly useful for CPU-bound operations, not I\/O-bound operations.\n\nNa m\u00f3j rozumek wydaje mi si\u0119 \u017ce jest OK, ale jak wspomnia\u0142em, mog\u0119 patrze\u0107 a nie widzie\u0107 dlatego prosz\u0119 o wskazanie palcem nawet :)\n\n\nEdit\n@some_ONE\n\ntak jeszcze raz przeczyta\u0142em co napisa\u0142e\u015b\nczy chodzi o to, \u017ce API powinno zwraca\u0107 warto\u015b\u0107 - a jak tam ju\u017c b\u0119dzie w \u015brodku to inna para kaloszy, czyli chodzi aby TASKI nie wyp\u0142ywa\u0142y na zewn\u0105trz?","edit_count":2,"is_voted":null,"is_accepted":null,"is_subscribed":null,"user_id":110567,"deleter_name":null,"delete_reason":null,"orderingScore":0,"created_at":"2020-11-30T22:19:16+01:00","updated_at":"2020-11-30T23:06:33+01:00","deleted_at":null,"user":{"id":110567,"name":"mussel","is_online":false,"allow_sig":1,"allow_count":1,"allow_smilies":0,"posts":104,"visited_at":"2026-06-03T12:04:30.000000Z","created_at":"2020-11-30T14:25:13.000000Z","initials":"MU","is_verified":false,"is_deleted":false,"is_incognito":false,"is_blocked":false,"is_blocked_perm":false,"deleted_at":null,"photo":null},"html":"<p><a class=\"mention\" data-user-id=\"29040\" href=\"https:\/\/4programmers.net\/Profile\/29040\" rel=\"nofollow\">@somekind<\/a>: dzi\u0119ki za przyk\u0142ad<br \/>\nJe\u015bli dobrze zrozumia\u0142em to chodzi o opcje por\u00f3wnania?<br \/>\nczy og\u00f3lnie o API<\/p>\n<p><a class=\"mention\" data-user-id=\"63931\" href=\"https:\/\/4programmers.net\/Profile\/63931\" rel=\"nofollow\">@some_ONE<\/a> dzi\u0119ki za odpowied\u017a, ale czy mo\u017cesz ja\u015bniej, nawet jak krowie na rowie<br \/>\nja nie jestem super bieg\u0142y w concurency w .net, mog\u0119 patrze\u0107 a nie widzie\u0107, pr\u00f3bowa\u0142em szuka\u0107 na w\u0142asn\u0105 r\u0119k\u0119<\/p>\n<p>i to co znalaz\u0142em<br \/>\n<a href=\"https:\/\/blog.stephencleary.com\/2013\/10\/taskrun-etiquette-and-proper-usage.html\" rel=\"nofollow\" target=\"_blank\">https:\/\/blog.stephencleary.com\/2013\/10\/taskrun-etiquette-and-proper-usage.html<\/a><\/p>\n<blockquote>\n<p>First, let\u2019s think of what Task.Run is really for (you wouldn\u2019t want to use a fork to eat soup!). The purpose of Task.Run is to execute CPU-bound code in an asynchronous way. Task.Run does this by executing the method on a thread pool thread and returning a Task representing the completion of that method.<\/p>\n<\/blockquote>\n<p><a href=\"https:\/\/app.pluralsight.com\/guides\/using-task-run-async-await\" rel=\"nofollow\" target=\"_blank\">https:\/\/app.pluralsight.com\/guides\/using-task-run-async-await<\/a><\/p>\n<blockquote>\n<p>The short explanation is that launching an operation on a separate thread via Task.Run is mainly useful for CPU-bound operations, not I\/O-bound operations.<\/p>\n<\/blockquote>\n<p>Na m\u00f3j rozumek wydaje mi si\u0119 \u017ce jest OK, ale jak wspomnia\u0142em, mog\u0119 patrze\u0107 a nie widzie\u0107 dlatego prosz\u0119 o wskazanie palcem nawet :)<\/p>\n<p>Edit<br \/>\n<a class=\"mention\" data-user-id=\"63931\" href=\"https:\/\/4programmers.net\/Profile\/63931\" rel=\"nofollow\">@some_ONE<\/a><\/p>\n<p>tak jeszcze raz przeczyta\u0142em co napisa\u0142e\u015b<br \/>\nczy chodzi o to, \u017ce API powinno zwraca\u0107 warto\u015b\u0107 - a jak tam ju\u017c b\u0119dzie w \u015brodku to inna para kaloszy, czyli chodzi aby TASKI nie wyp\u0142ywa\u0142y na zewn\u0105trz?<\/p>\n","url":"http:\/\/static.175.128.202.116.clients.your-server.de\/Forum\/Oceny_i_recenzje\/346763-properties_comparator_prosba_o_kostruktywna_krytyke?p=1728489#id1728489","is_locked":false,"editor":{"id":110567,"name":"mussel","is_online":false,"allow_sig":1,"allow_count":1,"allow_smilies":0,"posts":104,"visited_at":"2026-06-03T12:04:30.000000Z","created_at":"2020-11-30T14:25:13.000000Z","initials":"MU","is_verified":false,"is_deleted":false,"is_incognito":false,"is_blocked":false,"is_blocked_perm":false,"deleted_at":null,"photo":null},"permissions":{"write":false,"delete":false,"update":false,"accept":false},"moderatorPermissions":{"delete":false,"update":false,"accept":false,"merge":false,"sticky":false,"admAccess":false},"comments":[],"comments_count":0,"assets":[],"metadata":"eyJpdiI6InR1TmNZeGN0bUUxMjVIZjVDK2FCRUE9PSIsInZhbHVlIjoiQUFFMHN6NTdIZ2M4b0h3czlGRzU2Z0VSa1NKU3p6eC9kVm5nQWhwZTNaM0F4TFpsVzRTY0QxNzRZSDVIRmVMNTVNUXVPVFZyMWlDQ2lYSkpUTW5STEpJS1cwNXlXNGZoQ0F1REtiMWZhdGRHblpUUlI2c3R1dkw2SXhkUWNyMjYiLCJtYWMiOiI4ZjRiNTc3ZjM4NDE4NTBlODdlMGVhNDgwMmI2OWFjYmM4ODZjYTBiYTRhNDAxNWZlYTEyMjlkZjE3Yzg0ZmZkIiwidGFnIjoiIn0=","has_review":false,"review_style":"info","parentPostId":null,"childrenFolded":false,"type":"regular","highlighted":false}