This is accomplished by usage of the ‘yield’ method in the asynchronous function.Function * channel () ) Summary Generators are used to halt the processing of a function. Generators can also be used to alleviate the problems with nested callbacks and assist in removing what is known as the callback hell.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |