rename to smartpack n smartunpack
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* JavaScript Mix Payloads Receiver Test
|
||||
* Tests the smartreceive function with mixed payload types
|
||||
* Tests the smartunpack function with mixed payload types
|
||||
*
|
||||
* This test mirrors test_julia_mix_payloads_receiver.jl and demonstrates that
|
||||
* any combination and any number of mixed content can be received correctly.
|
||||
@@ -50,8 +50,8 @@ async function runTest() {
|
||||
console.log(`Received message on ${msg.subject}`);
|
||||
|
||||
try {
|
||||
// Process the message using smartreceive
|
||||
const envelope = await msghandler.smartreceive(msg, {
|
||||
// Process the message using smartunpack
|
||||
const envelope = await msghandler.smartunpack(msg, {
|
||||
fileserver_download_handler: msghandler.fetchWithBackoff,
|
||||
max_retries: 5,
|
||||
base_delay: 100,
|
||||
|
||||
Reference in New Issue
Block a user