Skip to content

Commit 0d0c6e3

Browse files
authored
Added close documentation
1 parent ded4ec2 commit 0d0c6e3

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

README.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,10 @@ Scalable threadpool implementation using Go to handle the huge network trafic.
5151
result := future.Get()
5252
5353
```
54+
- Close the pool
55+
```
56+
pool.Close()
57+
```
5458

5559
### Scheduled threadpool
5660

@@ -63,6 +67,7 @@ Scalable threadpool implementation using Go to handle the huge network trafic.
6367
task:=&MyTask{}
6468
pool.ScheduleOnce(task, time.Second*20) // Time delay is in seconds only as of now
6569
```
66-
67-
### Note
68-
This still in works
70+
- Close the pool
71+
```
72+
pool.Close()
73+
```

0 commit comments

Comments
 (0)