Commit f8bd13f7 authored by Massimo Costantini's avatar Massimo Costantini
Browse files

Updated comment

parent 1606558d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -97,7 +97,6 @@ def ivoa_sync_endpoint(req) -> Callable[[object], Awaitable[str]]:
    """

    async def inner(io):

        # Extracts TAP parameters from the request
        method = req.method

+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ In this model, all effectful computations are represented as higher-order functi

**JavaScript version:**
```js
// @returns {function(IO): Promise<T>}
(req) => async (IO) => Promise<T>
```

@@ -39,6 +40,7 @@ These functions **do not** perform any side effects immediately. Instead, they r

**JavaScript version:**
```js
// @returns {function(Symbol): Promise<Symbol>}
const putStr = (text) => async (IO) => {
  console.log(text);
  return IO;