Skip to content

FileIOManager.open() must be configurable as to which class to open file with #2

@jafd

Description

@jafd

Either there must be an instance attribute which defaults to file, or an additional argument passed to open().

The problem: take() can take an already open file, but the open operation itself might block for a significant period. The workaround would be deferToThread()'ing it, which is precisely the sort of things txfileio tries to abstract away.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions