Skip to content

Commit 1f95fde

Browse files
committed
fix Readme markdown
1 parent 2c5df9d commit 1f95fde

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,36 +3,36 @@
33
Wrapper of GCD queue with few cool features
44

55
Safe execution of a synchronous task on the main thread **from any thread including main**
6-
‘’’swift
6+
```swift
77
Queue.main.sync {
88
// your task on main thread
99
}
10-
‘’’
10+
```
1111

1212
### Queueable
1313
Protocol can help you test your code without threading by overriding real implementation via your own mock or existing Fake from SpryKit framework.
1414
### DelayedQueue
15-
Make it simple to manage task execution as parameter at your discretion. You can manage not only in what Queue to execute but also how sync or async.
15+
Make it simple to manage task execution as parameter at your discretion. You can manage not only in what Queue to execute but also how - sync or async.
1616

1717
Use standart queues
18-
‘’’swift
18+
```swift
1919
Queue.background.async
20-
‘’’
20+
```
2121

22-
‘’’swift
22+
```swift
2323
Queue.utility.asyncAfter
24-
‘’’
24+
```
2525

2626
or easily make your own
27-
‘’’swift
27+
```swift
2828
Queue.custom(label: “my line”).async
29-
‘’’
29+
```
3030

31-
‘’’swift
31+
```swift
3232
Queue.custom(label: “my line”, qos: .utility).async
33-
‘’’
33+
```
3434

3535
you can never go wrong with creating a queue due to explicit parameters
36-
‘’’swift
36+
```swift
3737
Queue.custom(label: “my line”, attributes: .serial).async
38-
‘’’
38+
```

0 commit comments

Comments
 (0)