Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Unbuffered mode #100

@siddhpant

Description

@siddhpant

The stdlib open() has an option to control the buffering.

One can disable buffering with buffering=0, and avoid doing flush() calls. This is different from doing os.fsync().

In aiofile, there is fsync() method, but I don't see any flush (the flush method just calls fsync) or unbuffered mode.

Is there a way to achieve without fsync? If not, then such method and mode should be added for greater compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions