of

open fun <T> of(onSuccess: Consumer<T>, onFailure: Consumer<Throwable>): SyscallCallback<T>