diff options
| author | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-11-01 10:38:26 +0100 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2022-11-27 20:49:33 +0000 |
| commit | 6bbfbd7aeb99475308a140222316f3e9006aeec3 (patch) | |
| tree | ab590fa208cb98edd419fa55873a01d17ee67433 /opendc-compute/opendc-compute-simulator/src/main | |
| parent | 2ca72c0b62e08efd244eba1723bc4fc65d30eed2 (diff) | |
refactor(compute/api): Do not suspend in compute API
This change updates the API interface of the OpenDC Compute service to
not suspend execution using Kotlin Coroutines.
The suspending modifiers were introduced in case the ComputeClient would
communicate with the service over a network connection. However, the main
use-case has been together with the ComputeService, where the suspending
modifiers only frustrate the user experience when writing experiments.
Furthermore, with the advent of Project Loom, it is not necessarily a
problem to block the (virtual) thread during network communications.
Diffstat (limited to 'opendc-compute/opendc-compute-simulator/src/main')
0 files changed, 0 insertions, 0 deletions
