Skip to content

[QUESTION]: Custom message serializers #356

Open
@simplecommerce

Description

@simplecommerce

Hi,

I was reading the topic about Custom message serializers.

And I had a question.

If I am passing an object with the following structure.

{
   id: "string",
   getFunction: function() {
     return "something"
   }
}

I am not sure that I understand how I would use that feature in order to make sure that in the Worker I am able to call the getFunction method.

Is there a working example somewhere I can read upon with a scenario similar to this?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions