awaitStyle

suspend fun MapboxMap.awaitStyle(): Style

Get the Style of the map.

Note: keeping the reference to an invalid Style instance introduces significant native memory leak, see Style.isValid for more details.