resolveWith

Resolves this DID using the provided resolver.

Return

DidResolutionResult (always non-null)

Parameters

resolver

The DID resolver to use


inline suspend fun Did.resolveWith(resolver: DidResolver, block: (DidDocument) -> Unit): DidResolutionResult

Resolves this DID and executes the block if successful.

Return

The resolution result

Parameters

resolver

The DID resolver to use

block

The block to execute with the resolved document