createArgFromBind function

Expression createArgFromBind(
  1. ServerMimic annotation,
  2. ServerParam param
)

Implementation

Expression createArgFromBind(
  ServerMimic annotation,
  ServerParam param,
) {
  return createMimic(annotation)
      .property('bind')
      .call([createBindContext(param)]).awaited;
}