Introduce DeferredIsResultInspection #KT-25620 Fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
<html>
|
||||
<body>
|
||||
This inspection reports functions with <b>kotlinx.coroutines.Deferred</b> result.
|
||||
|
||||
Functions which use <b>Deferred</b> as return type should have a name with suffix <b>Async</b>.
|
||||
Otherwise, it's recommended to turn a function into a suspend function and unwrap <b>Deferred</b>.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user