Skip to content

Commit

Permalink
Accept any materializer type param for S3's chunkUploadSink
Browse files Browse the repository at this point in the history
  • Loading branch information
mdedetrich committed Nov 12, 2023
1 parent 46796e2 commit aebbf49
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ import scala.util.{ Failure, Success, Try }
*/
def multipartUploadWithContext[C](
s3Location: S3Location,
chunkUploadSink: Sink[(UploadPartResponse, immutable.Iterable[C]), NotUsed],
chunkUploadSink: Sink[(UploadPartResponse, immutable.Iterable[C]), _],
contentType: ContentType = ContentTypes.`application/octet-stream`,
s3Headers: S3Headers,
chunkSize: Int = MinChunkSize,
Expand Down Expand Up @@ -943,7 +943,7 @@ import scala.util.{ Failure, Success, Try }
s3Location: S3Location,
uploadId: String,
previousParts: immutable.Iterable[Part],
chunkUploadSink: Sink[(UploadPartResponse, immutable.Iterable[C]), NotUsed],
chunkUploadSink: Sink[(UploadPartResponse, immutable.Iterable[C]), _],
contentType: ContentType = ContentTypes.`application/octet-stream`,
s3Headers: S3Headers,
chunkSize: Int = MinChunkSize,
Expand Down Expand Up @@ -1216,7 +1216,7 @@ import scala.util.{ Failure, Success, Try }
contentType: ContentType,
s3Headers: S3Headers,
chunkSize: Int,
chunkUploadSink: Sink[(UploadPartResponse, immutable.Iterable[C]), NotUsed],
chunkUploadSink: Sink[(UploadPartResponse, immutable.Iterable[C]), _],
initialUploadState: Option[(String, Int)] = None)(
parallelism: Int): Flow[(ByteString, C), UploadPartResponse, NotUsed] = {

Expand Down

0 comments on commit aebbf49

Please sign in to comment.