Contents

setInsertionHandler(_:)

Sets an insertion handler closure to be called when a new token is inserted into the system.

Declaration

func setInsertionHandler(_ insertionHandler: @escaping (String) -> Void)

Parameters

  • insertionHandler:

    A closure to be called whenever a token is added to the system. The closure takes a single argument, the tokenID, that identifies the added token.

Mentioned in

See Also

Configuring Handlers