WASIComponentVersionedHost constructor

WASIComponentVersionedHost({
  1. required WASIVersion version,
  2. WASIComponentHost? componentHost,
})

Creates a versioned host facade for version.

Implementation

WASIComponentVersionedHost({
  required WASIVersion version,
  WASIComponentHost? componentHost,
}) : profile = WASIComponentVersionProfile.forVersion(version),
     componentHost = componentHost ?? WASIComponentHost();