Introduced in 0.26.12
Function that is asynchronous (returns Async or Task) doesn't have Async prefix (in case of Async) or suffix (in case of Task).
By convention, Async prefix or suffix in function name means that the function is asyncronous.
Prefix is used for functions that return Async type, e.g.:
let AsyncFoo(): Async<int> =
async { return 1 }
Suffix is used for functions that return System.Threading.Task type, e.g.:
open System.Threading
let FooAsync(): Task<int> =
task { return 1 }
Add Async prefix (in case of Async) or suffix (in case of Task) to function name.
{
"asynchronousFunctionNames": {
"enabled": true,
"config": {
"mode": "OnlyPublicAPIsInLibraries"
}
}
}