loadAsync

fun loadAsync(font: String, text: String = definedExternally): Promise<ReadonlyArray<FontFace>>(source)

The load() method of the FontFaceSet forces all the fonts given in parameters to be loaded.

MDN Reference