Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xxdk-wasm
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elixxir
xxdk-wasm
Commits
d925c91e
Commit
d925c91e
authored
1 year ago
by
Jono Wenger
Browse files
Options
Downloads
Patches
Plain Diff
Fix comments
parent
0fa88a04
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!71
Project/file upload
,
!67
fix for latest client release
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
wasm/channelsFileTransfer.go
+3
-3
3 additions, 3 deletions
wasm/channelsFileTransfer.go
with
3 additions
and
3 deletions
wasm/channelsFileTransfer.go
+
3
−
3
View file @
d925c91e
...
...
@@ -211,7 +211,7 @@ func (cft *ChannelsFileTransfer) Send(_ js.Value, args []js.Value) any {
// RegisterSentProgressCallback allows for the registration of a callback to
// track the progress of an individual file upload. A
// [bindings.FtSentProgressCallback] is auto
registered on
// [bindings.FtSentProgressCallback] is auto
-
registered on
// [ChannelsFileTransfer.Send]; this function should be called when resuming
// clients or registering extra callbacks.
//
...
...
@@ -385,7 +385,7 @@ func (cft *ChannelsFileTransfer) Download(_ js.Value, args []js.Value) any {
}
// RegisterReceivedProgressCallback allows for the registration of a callback to
// track the progress of an individual
received file transfer
.
// track the progress of an individual
file download
.
//
// The callback will be called immediately when added to report the current
// progress of the transfer. It will then call every time a file part is
...
...
@@ -396,7 +396,7 @@ func (cft *ChannelsFileTransfer) Download(_ js.Value, args []js.Value) any {
// used to re-register any callbacks previously registered.
//
// Once the download completes, the file will be stored in the event model with
// the given file ID and with the status [channels
.ReceptionProcessing
Complete].
// the given file ID and with the status [channels
FileTransfer.
Complete].
//
// The [bindings.FtReceivedProgressCallback] only indicates the progress of the
// file download, not the status of the file in the event model. You must rely
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment