Skip to content

DataCloneError: Failed to execute 'postMessage' on 'Worker': (header)=>header.toLowerCase() could not be cloned. #158

@shakibhasan09

Description

@shakibhasan09

Hi, I'm using [email protected] on [email protected]

readString<Props>(evt.target.result as string, {
    worker: true,
    header: true,
    transformHeader: (header) => header.toLowerCase(),
    complete: (data) => {
      console.log(data);
    },
  });

If I turn off the worker then it's works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions