Skip to content

Keep instantiated classes intact when using web workers #59

@ben-girardet

Description

@ben-girardet

I've noticed that when using methods such as IfcManager.getPropertySets(modelID, expressID, true), the returned value is serialized and thus the instances of IfcPropertySet, IfcPropertySingleValue and so on ... are lost.

It would be a game changer to keep the data correctly instantiated (when using web workers) and to keep the typing intact. Currently the return type of IfcManager.getPropertySets() is Promise<any[]> but it could maybe then be Promise<IfcPropertySet[]>.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions