Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BasicOffer

On offer for a single object

The result of an exchange will be arrayified response from the acceptor

  • If the response data is an array, the result will be that array.
  • If the response data is null or undefined, the result is an empty array
  • Otherwise, the result will be a single-element array containing the response data

Hierarchy

  • BasicOffer

Index

Properties

accepting?: undefined
connecting?: undefined
having?: object

Additional form-specific metadata

offering: string | string[]

The form or forms of the object we can send

sending: any

The data are sending, or a function returning the data to send.

If a function, the first parameter is the peer's Match information and the second parameter is a promise that resolves when the exchange is closing (in case the modal is closed before the exchange can complete).

The data may be a promise that resolves to the data to send asynchronously.

Generated using TypeDoc