# Function determineFinalStatus

- determineFinalStatus(
  quorumReached: boolean,
  approved: boolean,
  ): "timeout" | "closed" | "pending" | "rejected" | "voting" | "approved"

  Determine final status based on quorum and approval.

  #### Parameters

  - quorumReached: boolean
  - approved: boolean

  #### Returns "timeout" | "closed" | "pending" | "rejected" | "voting" | "approved"

  - Defined in packages/nexus-agents/src/consensus/result-builder.ts:98