File tree Expand file tree Collapse file tree 8 files changed +98
-3
lines changed
js/src/main/scala/cats/effect
jvm-native/src/main/scala/cats/effect
jvm/src/main/scala/cats/effect
native/src/main/scala/cats/effect
shared/src/main/scala/cats/effect Expand file tree Collapse file tree 8 files changed +98
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ import scala.util.Try
143
143
* @see
144
144
* [[IOApp.Simple ]]
145
145
*/
146
- trait IOApp {
146
+ trait IOApp extends IOAppPlatform {
147
147
148
148
private [this ] var _runtime : unsafe.IORuntime = null
149
149
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2020-2025 Typelevel
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package cats .effect
18
+
19
+ trait IOAppPlatform extends IOAppCommon {}
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2020-2025 Typelevel
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package cats .effect
18
+
19
+ trait IOAppMultiThreaded {}
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ import java.util.concurrent.atomic.AtomicInteger
140
140
* @see
141
141
* [[IOApp.Simple ]]
142
142
*/
143
- trait IOApp {
143
+ trait IOApp extends IOAppPlatform {
144
144
145
145
private [this ] var _runtime : unsafe.IORuntime = null
146
146
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2020-2025 Typelevel
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package cats .effect
18
+
19
+ trait IOAppPlatform extends IOAppCommon with IOAppMultiThreaded {}
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ import java.util.concurrent.atomic.AtomicInteger
139
139
* @see
140
140
* [[IOApp.Simple ]]
141
141
*/
142
- trait IOApp {
142
+ trait IOApp extends IOAppPlatform {
143
143
144
144
private [this ] var _runtime : unsafe.IORuntime = null
145
145
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2020-2025 Typelevel
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package cats .effect
18
+
19
+ trait IOAppPlatform extends IOAppCommon with IOAppMultiThreaded {}
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright 2020-2025 Typelevel
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ package cats .effect
18
+
19
+ trait IOAppCommon {}
You can’t perform that action at this time.
0 commit comments