Skip to content

A sequence of elements supporting sequential operations.

License

Notifications You must be signed in to change notification settings

gaofengg/stream2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stream2

A sequence of elements supporting sequential operations.

Example:

from stream2 import Uni

def test01(name: str):
    Uni.CreateItem().item(name) \
        .on_item().transform(lambda x: x[::-1]) \
        .subscribe(lambda x: print(x))

if __name__ == '__main__':
    test01('abc')

# >>> cba 

About

A sequence of elements supporting sequential operations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages