Add a ladleful of broth or water and cover. Let the onions simmer until they are almost tender. If your onions are young and fresh, this should take no more than 5 minutes. Uncover the pan and add the peas, mixing gingerly. Continue simmering, uncovered, until the onions and peas are done and the liquid in the pan has almost, but not quite, evaporated. A minute or two should be enough. Taste and adjust for seasoning before serving.