File tree Expand file tree Collapse file tree
src/main/kotlin/org/rooftop/netx/api Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55<br >
66
7- ![ version 0.4.4 ] ( https://img.shields.io/badge/version-0.4.4--beta--1 -black?labelColor=black&style=flat-square ) ![ jdk 17] ( https://img.shields.io/badge/minimum_jdk-17-orange?labelColor=black&style=flat-square ) ![ load-test] ( https://img.shields.io/badge/load%20test%2010%2C000%2C000-success-brightgreen?labelColor=black&style=flat-square )
7+ ![ version 0.4.5 ] ( https://img.shields.io/badge/version-0.4.5 -black?labelColor=black&style=flat-square ) ![ jdk 17] ( https://img.shields.io/badge/minimum_jdk-17-orange?labelColor=black&style=flat-square ) ![ load-test] ( https://img.shields.io/badge/load%20test%2010%2C000%2C000-success-brightgreen?labelColor=black&style=flat-square )
88![ redis--stream] ( https://img.shields.io/badge/-redis--stream-da2020?style=flat-square&logo=Redis&logoColor=white )
99
1010** TPS(6,000)** on my Macbook air m2(default options). _ [ link] ( #Test1-TPS ) _
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ kotlin.code.style=official
22
33# ## Project ###
44group =org.rooftopmsa
5- version =0.4.4-beta-1
5+ version =0.4.5
66compatibility =17
77
88# ## Sonarcloud ###
Original file line number Diff line number Diff line change @@ -22,7 +22,12 @@ class Result<T : Any> private constructor(
2222 * @param typeReference
2323 * @return T result of saga
2424 */
25- fun decodeResultOrThrow (typeReference : TypeReference <T >): T = decodeResult(typeReference)
25+ fun decodeResultOrThrow (typeReference : TypeReference <T >): T {
26+ if (! isSuccess) {
27+ throwError()
28+ }
29+ return decodeResult(typeReference)
30+ }
2631
2732 /* *
2833 * @see decodeResultOrThrow
You can’t perform that action at this time.
0 commit comments