toResult

@Nullable
abstract fun toResult(): @Nullable Result<T>

Return

null if isCompleted is false.