Skip to content
This repository was archived by the owner on Jun 6, 2024. It is now read-only.

Commit 33ba847

Browse files
fix typo in Streaming thread shutdown of Readme (#276)
1 parent 8a422ce commit 33ba847

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ OpenAiService service = new OpenAiService(api);
9696
```
9797

9898
### Streaming thread shutdown
99-
If you want to shut down your process immediately after streaming responses, call `OpenAiService.shutdown()`.
99+
If you want to shut down your process immediately after streaming responses, call `OpenAiService.shutdownExecutor()`.
100100
This is not necessary for non-streaming calls.
101101

102102
## Running the example project

0 commit comments

Comments
 (0)