resultOf
@Since(version = KotoolsTypesVersion.V4_1_0)
Returns an encapsulated result of calling the block function in the ResultContext, or returns an encapsulated Throwable if calling the block function throws an exception.
Returns an encapsulated result of calling the block function in the ResultContext, or returns an encapsulated Throwable if calling the block function throws an exception.