file-system-access icon indicating copy to clipboard operation
file-system-access copied to clipboard

Propose FileSystemSubscriptionManager

Open mingyc opened this issue 1 year ago • 4 comments

@fergald

mingyc avatar Apr 09 '25 06:04 mingyc

@domenic Could you please provide some feedback on the API shape?

mingyc avatar Apr 16 '25 04:04 mingyc

Thanks for your speedy feedback! I've addressed most of comments. PTAL.

mingyc avatar Apr 16 '25 07:04 mingyc

Just curious, has this been discussed elsewhere, or is this PR the first time this is coming?

To create some links, I will mention that this work seems to extend whatwg/fs#165. That PR, FileSystemObserver, should be a viable strategy towards accomplishing #72 and whatwg/fs#124, requests for observation/watching/file-notification.

rektide avatar Apr 20 '25 00:04 rektide

Hi @rektide, this PR does evolve from FileSystemObserver, which has been launched in Chromium. This new interface is trying to support such capability in service workers. It was only discussed internally in Chromium but not here. We are publishing this to look for more feedback before going into implementation.

mingyc avatar Apr 22 '25 03:04 mingyc