TaskSurfaceAnalyzerModule

PackageAxial.Guardrails
The `TaskSurface` analyzer (AXG014, guide): keeps raw Task out of domain and service code and keeps task bridges thin elsewhere. Typed: the builder of a computation expression is resolved to FSharp.Core's TaskBuilder or BackgroundTaskBuilder (so shadowing and aliases are exact), and declared return types are resolved through abbreviations to Task, Task<'T>, ValueTask or ValueTask<'T>.

Summary

NameSignatureSynopsis
Operations
analyzeWithConfiganalyzeWithConfig config ctxNo description available.
liveRangesliveRanges config ctxRanges of current findings, for axial-note task-surface validation.
rawSitesrawSites ctxEvery raw Task site the file would be reported for at the strict tier, whatever its role or claims: whether a concurrency claim on the file has anything to exempt from AXG014.
taskSurfaceAnalyzertaskSurfaceAnalyzer ctxNo description available.

Operations

kind:member

analyzeWithConfig

analyzeWithConfig config ctx
Member

Parameters

NameTypeDescription
configConfig
ctxCliContext

Returns

Message list
kind:member

liveRanges

liveRanges config ctx
Member
Ranges of current findings, for `axial-note task-surface` validation.

Parameters

NameTypeDescription
configConfig
ctxCliContext

Returns

range list
kind:member

rawSites

rawSites ctx
Member
Every raw Task site the file would be reported for at the strict tier, whatever its role or claims: whether a concurrency claim on the file has anything to exempt from AXG014.

Parameters

NameTypeDescription
ctxCliContext

Returns

range list
kind:member

taskSurfaceAnalyzer

taskSurfaceAnalyzer ctx
Member

Parameters

NameTypeDescription
ctxCliContext

Returns

Async<Message list>