core.chain
core.chain(curvature, /, then)A type-safe pass.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| curvature | Curvature[Any, M] | The pass’s curvature. | required |
| then | Callable[[M], Pass[R] | Done[R]] | The continuation. It must accept exactly what curvature.finalize returns. |
required |
Returns
| Name | Type | Description |
|---|---|---|
| Pass[R] | A Pass running curvature, then then. |