> ## Documentation Index
> Fetch the complete documentation index at: https://omss.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ObjectToClean

> Function to clean a source.

This function will be called between a source is registered (in the ResultEmitter) and the source is emitted.

```typescript
type ObjectToClean = void
```


## Related topics

- [CleaningFunction](/sdk-artifacts/types/CleaningFunction.md)
- [Why OMSS?](/spec/explanation/features.md)
- [OMSS v1.0 Specification](/spec/v1.0/ref/spec.md)
