instantiateD2

fun instantiateD2(d2Config: D2Configuration): Single<D2>

Instantiates D2 with the provided configuration. If you are not using RxJava, use D2Manager.blockingInstantiateD2 instead.

Return

the D2 instance wrapped in a RxJava Single

Parameters

d2Config

the configuration