internal.types.generator

Source code: internal/types/generator.seq

extension Generator[T]

Magic methods:

__promise__()
__iter__()
__raw__()
__done__()
__resume__()
__str__()

Methods:

done()
next()
send(what: T)
destroy()
internal.types.generator.generator