Island: Add TODO about read/write lock

This commit is contained in:
Mike Salvatore 2022-07-03 09:38:31 -04:00
parent 9cb79c119c
commit 18f995919d
1 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,10 @@ from typing import BinaryIO
from . import IFileRepository
# TODO: Use a read-write lock. See:
# - https://pypi.org/project/readerwriterlock/
# - https://www.oreilly.com/library/view/python-cookbook/0596001673/ch06s04.html
class FileRepositoryLockingDecorator(IFileRepository):
def __init__(self, file_repository: IFileRepository):