Skip to content

Commit

Permalink
w3types: dropped deprecated Caller and CallerFactory interface (#185
Browse files Browse the repository at this point in the history
)

Co-authored-by: lmittmann <[email protected]>
  • Loading branch information
lmittmann and lmittmann authored Aug 22, 2024
1 parent 52746ee commit 2d3d6ea
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions w3types/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,3 @@ type RPCSubscriber interface {
// subscription and an error if the request cannot be created.
CreateRequest() (namespace string, ch any, params []any, err error)
}

// Caller is the interface that groups the basic CreateRequest and
// HandleResponse methods.
//
// Deprecated: Use the [RPCCaller] interface instead.
type Caller = RPCCaller

// CallerFactory is the interface that wraps the basic Returns method.
//
// Deprecated: Use the [RPCCallerFactory] interface instead.
type CallerFactory[T any] interface {
// Returns given argument points to the variable in which to store the
// calls result.
Returns(*T) Caller
}

0 comments on commit 2d3d6ea

Please sign in to comment.