Callback type

Defines type describing regular callback with two results - one is the Error, the other one is the result value.

type Callback<TResult> = DoubleValueCallback<Error, TResult>