Interface WorkerConfig.DecodeCallback<TReceive>

Enclosing interface:
WorkerConfig<TReceive>

@JsFunction public static interface WorkerConfig.DecodeCallback<TReceive>
TypeScript callback contract for this property.
  • Method Summary

    Modifier and Type
    Method
    Description
    onInvoke(Object data, elemental2.dom.MessageEvent<Object> event)
    Invokes the DecodeCallback callback.
  • Method Details

    • onInvoke

      TReceive onInvoke(Object data, elemental2.dom.MessageEvent<Object> event)
      Invokes the DecodeCallback callback.
      Parameters:
      data - Value supplied for the data parameter.
      event - Value supplied for the event parameter.