---
title: MTL4NewMachineLearningPipelineStateCompletionHandler
framework: metal
role: symbol
role_heading: Type Alias
path: metal/mtl4newmachinelearningpipelinestatecompletionhandler
---

# MTL4NewMachineLearningPipelineStateCompletionHandler

Provides a signature for a callback block that Metal calls when the compiler finishes a build task for a machine learning pipeline state.

## Declaration

```swift
typealias MTL4NewMachineLearningPipelineStateCompletionHandler = @Sendable ((any MTL4MachineLearningPipelineState)?, (any Error)?) -> Void
```

## See Also

### Pipeline compilation

- [MTL4BlendState](metal/mtl4blendstate.md)
- [MTL4FunctionDescriptor](metal/mtl4functiondescriptor.md)
- [MTL4IndirectCommandBufferSupportState](metal/mtl4indirectcommandbuffersupportstate.md)
- [MTL4LibraryDescriptor](metal/mtl4librarydescriptor.md)
- [MTL4LibraryFunctionDescriptor](metal/mtl4libraryfunctiondescriptor.md)
- [MTL4LogicalToPhysicalColorAttachmentMappingState](metal/mtl4logicaltophysicalcolorattachmentmappingstate.md)
- [MTL4NewBinaryFunctionCompletionHandler](metal/mtl4newbinaryfunctioncompletionhandler.md)
- [MTL4ShaderReflection](metal/mtl4shaderreflection.md)
- [MTL4SpecializedFunctionDescriptor](metal/mtl4specializedfunctiondescriptor.md)
- [MTL4AlphaToCoverageState](metal/mtl4alphatocoveragestate.md)
- [MTL4AlphaToOneState](metal/mtl4alphatoonestate.md)
- [MTL4StaticLinkingDescriptor](metal/mtl4staticlinkingdescriptor.md)
- [MTL4StitchedFunctionDescriptor](metal/mtl4stitchedfunctiondescriptor.md)
- [MTLFunctionReflection](metal/mtlfunctionreflection.md)
- [MTLNewDynamicLibraryCompletionHandler](metal/mtlnewdynamiclibrarycompletionhandler.md)
