Table of Contents

Method ReadFileAsync

Namespace
PowerSync.Common.Attachments
Assembly
PowerSync.Common.dll

ReadFileAsync(string)

Opens a file for streaming reads.

public Task<Stream> ReadFileAsync(string filePath)

Parameters

filePath string

Path of the file.

Returns

Task<Stream>

A readable stream over the file's contents.

Remarks

The caller disposes the returned stream.