How to set tempo of the audiounit by host side.

I am using Swift 4.

I am building a audiounit host application for iOS, but I'm looking for a way to set the tempo.


I looked for AUHostMusicalContextBlock in AUAudio Unit. Please teach me how to use this.