github.com/primecitizens/pcz/std@v0.2.1/ffi/js/callback_unsupported.go (about)

     1  // SPDX-License-Identifier: Apache-2.0
     2  // Copyright 2023 The Prime Citizens
     3  
     4  //go:build noos || !(js && wasm)
     5  
     6  package js
     7  
     8  import (
     9  	"github.com/primecitizens/pcz/std/core/assert"
    10  )
    11  
    12  func callDispatcher(
    13  	recv, targetPC uintptr, ctx *CallbackContext, fn uintptr,
    14  ) {
    15  	assert.Throw("unsupported", "operation")
    16  }