mock-socket.fnl

Branches > main > latest > files / nvim / pack / plugins / opt / conjure / fnl / conjure-spec / client / guile / mock-socket.fnl

(var mock-repl {})

(fn start []
  mock-repl)

(fn set-mock-repl [repl]
  (set mock-repl repl))

(fn build-mock-repl 
  [send] 
  {:send send 
   :status nil 
   :destroy (fn [])})

{: start
 : set-mock-repl
 : build-mock-repl}