# Source: https://mikro-orm.io/api/core/function/OnLoad.md

# OnLoad<!-- -->

### Callable

* ****OnLoad**(): (target, method) => void

***

* #### Returns (target, method) => void

  * * **(target, method): void

    - #### Parameters

      * ##### target: any
      * ##### method: string

      #### Returns void