Skip to main content
SIFR-ASYNC-0005 belongs to the Async effect and awaitability diagnostic family. It means: blocking offload target is not classified as blocking I/O or CPU-heavy work.

Why It Happens

Sifr tracks suspension and blocking effects statically. This diagnostic fires when async code either does not really suspend, awaits work that cannot suspend, or calls blocking/CPU-heavy work without an explicit offload boundary.
Use sifr --explain SIFR-ASYNC-0005 locally to see the renderer’s exact message template and any machine-applicable suggestions for the compiler version you are running.

Erroneous Code

How To Fix It

Only offload functions classified as blocking I/O or CPU-heavy work; otherwise leave ordinary synchronous helpers synchronous.

Fixed Code

Details

See the Error Codes index for the complete catalog.