DiscardedCancellationAnalyzerModule

PackageAxial.Guardrails
The `DiscardedCancellation` analyzer: flags `ColdTask`/`ColdTask.create`/`Flow.fromTask`/ `Flow.fromTaskResult` given a lambda that discards its `CancellationToken` parameter (`fun _ -> legacyCall ()`). `docs/01-getting-started/03-existing-task-application.md` already calls this out in prose: "Some legacy APIs do not accept a cancellation token. You can adapt one with `ColdTask(fun _ -> legacyCall ())`, but cancelling the Flow cannot stop the underlying operation." That's a real, easy-to-miss trap - the code compiles, looks like every other adapter, and only shows up as a hang or a leaked operation under cancellation, which is hard to reproduce and easy to blame on something else.

Summary

NameSignatureSynopsis
Operations
rawRangesrawRanges ctxNo description available.
discardedCancellationAnalyzerdiscardedCancellationAnalyzer ctxNo description available.

Operations

kind:member

rawRanges

rawRanges ctx
Member

Parameters

NameTypeDescription
ctxCliContext

Returns

range list
kind:member

discardedCancellationAnalyzer

discardedCancellationAnalyzer ctx
Member

Parameters

NameTypeDescription
ctxCliContext

Returns

Async<Message list>