Skip to content

MacFilesystemProvider.OpenFileForReadAsync(string, IScheduler) method

Defined in

Type: MacFilesystemProvider Namespace: Akavache Assembly: Akavache.Core.dll

Applies to

net9.0-ios18.0, net9.0-macos15.0, net9.0-maccatalyst18.0, net9.0-tvos18.0, net8.0-ios18.0, net8.0-maccatalyst18.0, net8.0-macos15.0, net8.0-tvos18.0

public IObservable<Stream> OpenFileForReadAsync(string path, IScheduler scheduler)

View source

Inherited documentation

These docs were inherited from IFilesystemProvider. The member doesn't override them on this type.

Summary: Open a file on a background thread, with the File object in 'async mode'. It is critical that this operation is deferred and returns immediately (i.e. wrapped in an Observable.Start).

Parameters

NameTypeDescription
pathstringThe path to the file.
scheduler[IScheduler](#The scheduler to schedule the open under.

Returns: IObservable -- A Future result representing the Open file.