graphAccessor

inline fun <reified T : Any> graphAccessor(): T(source)

Returns the held graph as T, an accessor interface contributed with @ContributesTo(AppScope::class).

Throws

if the graph is not set yet or does not implement T.