Skip to content

Commit

Permalink
Adding readLine command to console.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kicito committed Jun 10, 2024
1 parent 7171e00 commit 802179a
Showing 1 changed file with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ Interface documentation:
| [unsubscribeSessionListener](console.md#unsubscribeSessionListener) | [UnsubscribeSessionListener](console.md#UnsubscribeSessionListener) | void | |
| [subscribeSessionListener](console.md#subscribeSessionListener) | [SubscribeSessionListener](console.md#SubscribeSessionListener) | void | |
| [enableTimestamp](console.md#enableTimestamp) | [EnableTimestampRequest](console.md#EnableTimestampRequest) | void | |
| [readLine](console.md#readLine) | [ReadLineRequest](console.md#ReadLineRequest) | string | |

## Operation Description

Expand Down Expand Up @@ -228,3 +229,29 @@ Type: void

`void : void`

### readLine <a id="readLine"></a>

Operation documentation: Read a line from the console using a synchronous call

Invocation template:

```jolie
readLine@Console( request )( response )
```

#### Request type

Type: ReadLineRequest
```jolie
type ReadLineRequest: void {
secret?: bool
}
```

`ReadLineRequest : void`
* `secret: bool`
#### Response type

Type: string

`string : string`

0 comments on commit 802179a

Please sign in to comment.