Offering elements

There is a non-suspending function that will allow you to send elements through a channel under certain circumstances. This offer() function takes an element to try to add it to the queue, and returns a Boolean or throws an exception depending on the state of the channel.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.224.51.145