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
143143 * @see
144144 * [[IOApp.Simple ]]
145145 */
146- trait IOApp {
146+ trait IOApp extends IOAppPlatform {
147147
148148 private [this ] var _runtime : unsafe.IORuntime = null
149149
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
140140 * @see
141141 * [[IOApp.Simple ]]
142142 */
143- trait IOApp {
143+ trait IOApp extends IOAppPlatform {
144144
145145 private [this ] var _runtime : unsafe.IORuntime = null
146146
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
139139 * @see
140140 * [[IOApp.Simple ]]
141141 */
142- trait IOApp {
142+ trait IOApp extends IOAppPlatform {
143143
144144 private [this ] var _runtime : unsafe.IORuntime = null
145145
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