Skip to content

API Reference / @gtkx/runtime / FinishResult

Type Alias: FinishResult<R, T>

FinishResult<R, T> = (result) => T

Defined in: runtime/dist/promisify.d.ts:7

Extracts the finished value from the async result a GIO-style operation completes with.

Type Parameters

R

R extends object

The async result type passed to the completion callback.

T

T

The finished value type.

Parameters

result

R

Returns

T

Released under the MPL-2.0 License.